ScottPugh
7 years agoQrew Cadet
Javascript in Formula URL Help
From other posts I was able to put together the following code for a Formula URL button. This accomplishes the main actions of calling a 3rd party REST API and then reloading the current page.
var text URL= "https://hooks.zapier.com/hooks/catch/XXXXXXXXXXX?;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
I'd like to know if its possible to do one of two (or both) additional actions
1. Is it possible to add a delay before the page reloads?
2. Is it possible to show a pop-up box the user would click on and then reload the page
I basically just need to buy a second or two while the REST API that was called does its thing and then ultimately updates a record back in Quickbase before the page reload occurs
Thanks for the help
var text URL= "https://hooks.zapier.com/hooks/catch/XXXXXXXXXXX?;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
I'd like to know if its possible to do one of two (or both) additional actions
1. Is it possible to add a delay before the page reloads?
2. Is it possible to show a pop-up box the user would click on and then reload the page
I basically just need to buy a second or two while the REST API that was called does its thing and then ultimately updates a record back in Quickbase before the page reload occurs
Thanks for the help