I have an array of checkboxes and text fields. what i want to achieve is that when the checkbox is not checked the input type text field is readonly but when the checkbox is checked, the input type text field is no longer read only. I have an array of checkboxes and text fields.