Forum Discussion
QuickBaseCoachD
Qrew Captain
Elisha, there is possibly an easier solution.
Your "add record" can specify where to go to upon Save. ie the NextURL.
var text ADD = URLRoot() & "db/" & [_DBIDxxxx] & "?API_GenAddRecordForm&ifv=1":
var text RedirectTo = the url to redirect to;
$ADD
& "&NextURL=" & URELEncode($RedirectTo )
Your "add record" can specify where to go to upon Save. ie the NextURL.
var text ADD = URLRoot() & "db/" & [_DBIDxxxx] & "?API_GenAddRecordForm&ifv=1":
var text RedirectTo = the url to redirect to;
$ADD
& "&NextURL=" & URELEncode($RedirectTo )
TateForgey
6 years agoQrew Assistant Captain
I've never quite understood how redirects work and I could not get any of these solutions to work for me. I created a URL button intended to be used in the edit view of a form that has "ifv=0" added. No matter what I try to put in the "&NextURL" portion of this I am always just redirected to the dashboard of the app. I don't know why. Why?!?!
HOWEVER, if I make sure that the "Save parent record automatically" is checked in the table's advanced settings I simply put the URL I want to redirect to in the button. The record saves on it's own because that setting is engaged and I end up at the redirect page. Great! BUT.....
These buttons do not work on mobile. The last button I describe with the URL I want end up shows in the edit view in mobile (I haven't seen any buttons that shows up in a report) and successfully redirects to the URL. but for reasons I don't understand the record does not save. Why?!?!
Any ideas about how I can get a save and redirect to work in mobile?
HOWEVER, if I make sure that the "Save parent record automatically" is checked in the table's advanced settings I simply put the URL I want to redirect to in the button. The record saves on it's own because that setting is engaged and I end up at the redirect page. Great! BUT.....
These buttons do not work on mobile. The last button I describe with the URL I want end up shows in the edit view in mobile (I haven't seen any buttons that shows up in a report) and successfully redirects to the URL. but for reasons I don't understand the record does not save. Why?!?!
Any ideas about how I can get a save and redirect to work in mobile?