Skip to main content
Question

URL Button to check a checkbox

  • April 9, 2020
  • 0 replies
  • 34 views

I am trying to use a button to check  a checkbox.  The page refreshes but the checkbox is ever checked.  Any idea what could be causing this?  Any help would be appreciated.  Thanks

var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_45=1";

"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});" & "void(0);"

------------------------------
Jason Beaver
------------------------------
This topic has been closed for replies.

  • Registered
  • April 9, 2020
Do you have app tokens enabled? You may need to include that in your URL as well.

  • Registered
  • April 10, 2020
I wrote an article about doing this here: https://quandarycg.zendesk.com/hc/en-us/articles/360021233851-Putting-JavaScript-into-Formula-URL-ADVANCED.  Hope it helps if you haven't already figured this out.

------------------------------
Jake R
------------------------------