ToddGriffith
7 years agoQrew Cadet
I am having a problem with my code to toggle a checkbox.
I am having an issue with this code. I am trying to create a URL button in a report to toggle a checkbox. It does not seem to be working. Can someone help?
var bool NewToggle = If([MD Approval]=false,true,false);
var text URL = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&key=" &
"&rid=" & URLEncode ([Record ID#]) &
"&_fid_80= " & $NewToggle;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"