makes an item readonly
name | string | the name of an item |
state | boolean | true/false, by default - false |
//makes an item with name="myInput" readonly
myForm.setReadonly("myInput", true);
//makes the item not readonly
myForm.setReadonly("myInput", false);
Back to top