Forum Discussion
MarkShnier__You
Qrew Legend
3 years agoExisting JavaScript URL formula buttons will continue to run indefinitely. But as you can see they are no longer editable. If you post your actual code and not just a screenshot I will show you how to change that code to have the same effect but not using JavaScript.
Here for example is how we do it now. Note the new syntax for how to refresh the page.
var text Approve = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & ToText([Record ID#])
& "&_fid_144=Approved";
var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();
$Approve
& "&rdr=" & URLEncode($RefreshPage)
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
Here for example is how we do it now. Note the new syntax for how to refresh the page.
var text Approve = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & ToText([Record ID#])
& "&_fid_144=Approved";
var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();
$Approve
& "&rdr=" & URLEncode($RefreshPage)
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------