Forum Discussion
QuickBaseCoachD
9 years agoQrew Captain
var text NewToggle = IF([Send_Notification] = true, "0","1") // this will make the toggle be the opposite of its current value, but in text format.
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & [Record ID#]
& "&apptoken=kn75dwb4y6nhrdtb89z2cnv9ay4"
& "&_fid_208=" & $NewToggle
& "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#])
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & [Record ID#]
& "&apptoken=kn75dwb4y6nhrdtb89z2cnv9ay4"
& "&_fid_208=" & $NewToggle
& "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#])