Skip to main content

Hi,

How to make a lookup list read only, I tried disabling using rules, but while saving the form, the lookup list data is not saved to the list. I was having the same issue with date picker control when disabling.

I tried

NWF$('#' + jsvLookup).prop('readonly',true);

NWF$('#' + jsvLookup).attr('readonly',true);

Any Help?

Sojan

try to put your controls in a panel and apply the formatting rule on the panel.


Hi Sojan,

I have seen when applying rules to the control (especially if the rule makes the control disabled) Saving the value in Javascript (through Advanced section of the control) does not work, as Marian suggested enclose your controls in a Panel and then try adding the rules to the Panel.

Hth,

Shrini


Reply