AnsweredAssumed Answered

how to set readonly attribute to controls on Nintex Forms

Question asked by mc68b09e on Apr 14, 2015
Latest reply on Apr 16, 2015 by mc68b09e

Hi all

 

I am tring to set readonly attributes to control on Nintex Forms using below Javascript code.

 

example:

webCtrl = NWF$("#"+reqFields[index]);

 

No.1 webCtrl.css("readonly","readOnly");

No.2 webCtrl.css("readonly",true);

No.3 webCtrl.attr("readonly",true);

No.4 webCtrl.readonly=true;

 

I checked all of above, finally, all of them are failed to set readonly.

 

Does anybody know how to do this.

I want to set readonly for input, rechtext, checkbox, select and radio.

 

thanks.

Outcomes