How to set a field on mobile as read-only if it is other than empty?
Solved
FSM Mobile - conditional read-only field
Best answer by Shneor Cheshin
Hi
You can use a client script and attach it to the refresh event (Or any other relevant event).
var control = getControlValue('table','field');
if(isNullOrEmptyString(control)){
setControlEnabled("table","field",true);}
else{
setControlEnabled("table","field",false);}
Cheers!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.