Forum Discussion
QuickBaseCoachD
Qrew Captain
Justin, I see that you found my app in the Exchange
Here is what you need
var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_55=1";
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});" & "void(0);"
Change 55 to your checkbox fid.
this syntax refreshes the whole page, even when clicked off a child record on an embedded report on form, or on a report.
Here is what you need
var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_55=1";
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});" & "void(0);"
Change 55 to your checkbox fid.
this syntax refreshes the whole page, even when clicked off a child record on an embedded report on form, or on a report.
KristenBrown__s
2 years agoQrew Member
Hello, is there an update to this code given the changes with javascript?
------------------------------
Kristen Brown (she/her)
------------------------------
- MarkShnier__You2 years agoQrew Legend
Here is an example
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
------------------------------