Forum Discussion
Can you post the code for your button?
- VincentDiNotte_3 months agoQrew Member
var text check = "<a style='text-decoration:none; background:#791e87; border-radius: 5px; color:#f5f4f5; display: inline-block; padding: 10px ; width:170px; text-align: center; margin:auto; text-shadow: none; box-shadow: 2px 2px 4px -1px grey;' href='" & URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [DSA Client ID#] & "&_fid_414=1&rdr="&URLEncode(URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl()) & "'>Send 2553</a>";
//var text uncheck = "<a a style='text-decoration:none; background:#2c9382; border-radius: 5px; color:#f5f4f5; display: inline-block; padding: 10px ; width:170px; text-align: center; margin:auto; text-shadow: none; box-shadow: 2px 2px 4px -1px grey;' href='" & URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [DSA Client ID#] & "&apptoken=APPTOKEN&_fid_104=0&rdr="&URLEncode(URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl()) & "'>Toggle Uncheck</a>";
If([Checkbox] = false, $check )