RobinCC
10 years agoQrew Cadet
What is the URL to edit a field, redirect to app homepage, and then display a pop-up message all with one button?
I already have the URL to edit the field and redirect to the app home page. That was easy and it works perfectly. I just need the extra part to also display a pop-up message.
The URL thus far is as follows:
var bool checkedstate = If([Request Access Modification Field for Notification], false,true);
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord"& "&rid="& [Project ID#]& "&_fid_430="& $checkedstate & "&rdr=" & URLEncode(URLRoot() & "db/bgafau47s")
Separately, I got the following javascript to work on its own in a URL button:
"javascript: alert ('Your Request Has Been Sent. ')"
How do I combine the two elements into one button?
Thanks
The URL thus far is as follows:
var bool checkedstate = If([Request Access Modification Field for Notification], false,true);
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord"& "&rid="& [Project ID#]& "&_fid_430="& $checkedstate & "&rdr=" & URLEncode(URLRoot() & "db/bgafau47s")
Separately, I got the following javascript to work on its own in a URL button:
"javascript: alert ('Your Request Has Been Sent. ')"
How do I combine the two elements into one button?
Thanks