URL button with pop up to collect info
Hello,
I have a URL button that is used to check a checkbox and update a status field, then some javascript to refresh the page. I would like also to pop up a dialog to ask the user to select a reason from a dropdown from another field in the same table (Text - Multiple Choice, fid_153) as part of this process.
How could I go about doing that with this button?:
var text recallbutton =URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#] & "&_fid_135=1" & "&_fid_131=Recalled";
If([IsRecalled]=true or (Now())<[Date Created]+Minutes(10) or [SV - Field Rep - App ID] = "", "",
"javascript:" &
"$.get('" &
$recallbutton &
"',function(){" &
"$.jGrowl('Dispatch has been recalled.', {life: 5000, theme: 'jGrowl-green'});" &
"setTimeout(function(){ location.reload(); },500);" &
"});" &
"void(0);")
Thanks for any assistance.
------------------------------
Jeff Peterson
------------------------------