How to change button label? Like if the Lock status is locked change the button label to Unlock and vice versa.Please help
var text lockStatus=If([Lock Status]="LOCKED","UNLOCKED","LOCKED");
var text URLONE=URLRoot()&"/db/"&Dbid()&"?act=API_EditRecord&rid=" &[Record ID#] & "&_fid_9="&$lockStatus;
var text URLTWO=URLRoot() & "db/" & Dbid()&"?a=dr&rid="&[Record ID#];
$URLONE
& "&rdr=" & URLEncode($URLTWO)
------------------------------
Ronali Panigrahy
------------------------------
Question
Change Button label
This topic has been closed for replies.
Sign up
Already have an account? Login
Login to the community
Login with Quickbase US – quickbase.com Login with Quickbase EU – quickbase.eu
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.