Forum Discussion
QuickBaseJunkie
Qrew Captain
You can add a redirect in your formula by replacing $URL with
$URL & "&rdr=" & $URLTWO
You'll then need to add another variable for URLTWO (var text URLTWO = )
You are correct that you cannot redirect outside of QuickBase, so URL TWO would be something like this (where the pageID=3 is replaced with your pageID).
$URL & "&rdr=" & $URLTWO
You'll then need to add another variable for URLTWO (var text URLTWO = )
You are correct that you cannot redirect outside of QuickBase, so URL TWO would be something like this (where the pageID=3 is replaced with your pageID).
URLRoot() & "db/" & Dbid() & "?a=dbpage&pageID=3";
-SharonQuickBaseJunkie
6 years agoQrew Captain
I was recently asked about the code I provided here and I have a better alternative using the onclick method below.
var text SAVE = "onclick=\"$('#saveButton').click()";
var text REDIRECT = URLRoot() & "db/" & Dbid() & "?a=dbpage&pageID=2";
"<a class='Vibrant Success' & " & $SAVE & "; window.location.href=' "& $REDIRECT &" '\">SAVE & Go to Page</a>"
var text SAVE = "onclick=\"$('#saveButton').click()";
var text REDIRECT = URLRoot() & "db/" & Dbid() & "?a=dbpage&pageID=2";
"<a class='Vibrant Success' & " & $SAVE & "; window.location.href=' "& $REDIRECT &" '\">SAVE & Go to Page</a>"