Forum Discussion
This formula tested OK. LMK if you need help with adjusting the color or the size of the button.
var text URL = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_355=1" // replace the 355 with the field ID of your checkbox field
& "&disprec=1" // this will land the user on the record after they click.
& "&apptoken=xxxxxxxxx";
// in advanced settings for the app, you may have the need for application tokens enabled
// I suggest that you disable this need, but if you do want to use application tokens
//an extra layer of security, you will need to create an applicaiton token and supply it
// here.
"<a style=\"text-decoration:none; background: #1ba802; border-radius: 5px; color: #ffffff; display: inline-block; padding: 2px 2px 2px 2px; width:100px; text-align: center; text-shadow: none; border: 2px solid #1ba802; font-size: 12px \"href='"
& $URL
& "'>Approve</a>"