Hi everybody,
I'm trying to enable/disable a lookup control through Javascript, this code works on text and choice controls:
//Option 1
NWF$("#"+controlID).attr('disabled','disabled');
NWF$("#"+controlID).removeAttr('disabled');
//Option 2
NWF$("#"+controlID).prop("disabled", true);
NWF$("#"+controlID).prop("disabled", false);
However, the code I posted above doesn't work on lookups.
Do you have any idea?
I'd also like to know how to check/uncheck a checkbox, I use the following code:
NWF$("#"+myCheckID]).prop('checked', true);
NWF$("#"+myCheckID]).prop('checked', false);
The checkbox is checked/unchecked, but the value doesn't change.
I connect the checbox to a calculated control, and the value is always the same (true/false), no matter if the checkbox is checked/unchecked.
I work with Nintex Forms 2013 2.9.3.1.
Thanks in advance.