GiuseppeMacri
6 years agoQrew Captain
Save and Redirect Help
Hi,
I currently have this formula to do a save and redirect:
var text SAVE = "onclick=\"DoSaveAdd()";
var text REDIRECT = URLRoot() & "db/" & Dbid() & "?a=dbpage&pageID=9";
"<a class='Vibrant Success' & " & $SAVE & "; window.location.href=' "& $REDIRECT &" '\">Submit your request</a>"
The problem is, when i click the button, the record doesnt get saved. Any thoughts?
Thanks
!
------------------------------
GMacri
------------------------------
I currently have this formula to do a save and redirect:
var text SAVE = "onclick=\"DoSaveAdd()";
var text REDIRECT = URLRoot() & "db/" & Dbid() & "?a=dbpage&pageID=9";
"<a class='Vibrant Success' & " & $SAVE & "; window.location.href=' "& $REDIRECT &" '\">Submit your request</a>"
The problem is, when i click the button, the record doesnt get saved. Any thoughts?
Thanks
!
------------------------------
GMacri
------------------------------