- Thu Aug 16, 2018 5:58 pm
#815725
Hi all,
I want to change the required status of a field in the dynaform. I can disable the field with the following script:
$("#ProjectFrom").getControl().attr('disabled',false);
I found the model keys of the text box with the command below and found the "required" key
getFieldById("ProjectFrom").model.keys();
I can't modify with the following script. Do you have another option for that?
$("#ProjectFrom").getControl().attr('required',true);
Thanks in advance
I want to change the required status of a field in the dynaform. I can disable the field with the following script:
$("#ProjectFrom").getControl().attr('disabled',false);
I found the model keys of the text box with the command below and found the "required" key
getFieldById("ProjectFrom").model.keys();
I can't modify with the following script. Do you have another option for that?
$("#ProjectFrom").getControl().attr('required',true);
Thanks in advance