I want to:
- Hit a button
- Update a Field in that record
- Open a popup
- Close the popup (when a button is pushed)
- Return to the original page
I have steps 1, 2, 5 working with the below code on my URL-formula field. I haven't been able to figure out steps 3,4 (the popup).
var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&apptoken=<mytoken>&rid=" &[Record ID#] & "&_fid_10="
& Now() & "&rdr=" & URLEncode($RefreshPage)
------------------------------
Aaron B
ab1692@att.com
------------------------------