QuickBaseCoachD
6 years agoQrew Captain
Slow Down the Refresh
Many of us make URL formula buttons to do an update and then refresh the screen we are on.
var text URL = ........;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
I have a use case where I need time for an Automation to run before the screen is refreshed and a child table on the form is displayed.
I know I can put my child table on a tab and cheat in a delay that way, but that would not be a good user experience.
I suppose I can cheat and redirect the user to an alternate full page view of the form that says "your update has been entered, click here to continue", but that is not so nice either.
What I would really like to know is if there is an alternate version of this Javascript above which would introduce a delay on the refresh of a second or if that is not possible, put up a small pop up where the user would click OK and that would refresh the record. I just need a second or two delay on the refresh somehow to give the Automation time to run.
var text URL = ........;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
I have a use case where I need time for an Automation to run before the screen is refreshed and a child table on the form is displayed.
I know I can put my child table on a tab and cheat in a delay that way, but that would not be a good user experience.
I suppose I can cheat and redirect the user to an alternate full page view of the form that says "your update has been entered, click here to continue", but that is not so nice either.
What I would really like to know is if there is an alternate version of this Javascript above which would introduce a delay on the refresh of a second or if that is not possible, put up a small pop up where the user would click OK and that would refresh the record. I just need a second or two delay on the refresh somehow to give the Automation time to run.