Forum Discussion
QuickBaseCoachD
8 years agoQrew Captain
Try this
// make a formula variable to be the opposite of the checkbox condition.
var bool NewValue = not [Process for Submission] ;
var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_9=" & URLEncode($NewValue)
& "&usertoken=xxxxxxxxxxxxxxxxxxxx";
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});" & "void(0);
// make a formula variable to be the opposite of the checkbox condition.
var bool NewValue = not [Process for Submission] ;
var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_9=" & URLEncode($NewValue)
& "&usertoken=xxxxxxxxxxxxxxxxxxxx";
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});" & "void(0);