Need a "save and Home" button that saves the record then takes the user to the Home page....Any ideas?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

I see the threads on save and next type stuff but I'm not that well versed at trying to edit them to go to the Home pages...Please help

Photo of Bill

Bill

  • 0 Points

Posted 3 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
What do you mean by "Home page"? Are you referring to the Application Dashboard or the Table Homepage/Dashboard? In either event you can use the image onload technique with code similar to this:



(function(){
  var querystring=document.location.search;
   if (/a=nwr/i.test(querystring)) {
    //ADD RECORD PAGE ========================================
    //alert("You are on the Add Record Page");
    $("input[name=rl]").val("");
    $("#RedirectURL").val("http://www.brasil.gov.br/");
  }
})();

You have to (1) set the hidden form field "rl" to an empty string and (2) set the hidden form field "RedirectURL" to whatever URL you want to redirect to. Using this scheme you just use the standard Save button.


Photo of Bill

Bill

  • 0 Points
Dan - thanks. Now I just have to remember how to do those - it's been a while. I do remember you and Mark from my 15+ years at Intuit. You continue to be the man!
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
That must have been you I read on Glassdoor talking about QuickBase:

https://www.glassdoor.com/Overview/Working-at-QuickBase-EI_IE1264080.11,20.htm
Photo of Bill

Bill

  • 0 Points
Nah, I didn't work for QuickBase. I worked in the ProTax group out of Plano, TX :smile:
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
Well they got a lot of jobs listed since getting cut loose from Intuit. I'm looking at that Agile Coach position - It would be fun to boss everyone at QuickBase around as a Agile Coach - you know like "what were you thinking?", "make me a sandwich" etc
Photo of Bill

Bill

  • 0 Points
:+1: