Forum Discussion
BlakeHarrison
5 years agoQrew Captain
I would encourage you to try it without the JavaScript and instead, call the API directly, like this:
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
var text chk = "&_FID_12=";
var text tk = "token";
"<a class='Vibrant Success' & href=" &
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&apptoken=" & $tk & "&rid=" & [Record ID#] &
$chk & "Yes" &
"&rdr=" &
URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#])
& ">Check Box</a>"
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
- MichaelTamoush5 years agoQrew CaptainHere is code from Kirk Trachys Magic Buttons. This example is to check a checkbox then display the record using formula URL
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=d9eascudwjxs2sesxkjccwgtq9r" &
"&_fid_101=1" &
"&rdr=" &
URLEncode(URLRoot() & "db/" & Dbid() &
"?a=dr&rid=" & [Record ID#])
------------------------------
Mike Tamoush
------------------------------