Makes item readonly.
Parameters:
//makes an item with name='myInput' readonly myForm.setReadonly('myInput', true); //makes the item not readonly myForm.setReadonly('myInput', false);
See also: