Jan 28, 2014, 3:29 PM
[CLOSED] Disabled text fields
Guys
Having an issue which must have a simple solution but can't find it.
So I have a field that toggles between disabled and enabled however I can't use Enable and Disable as the values do not get posted back to the server so the obvious solution is to use ReadOnly however what happens is this
1. Form opens and ReadOnly set to true -- works.
2. Form open again and ReadOnly set to false -- does not work as field is now permanently read only & css class remains as read only.
Note the readonly set statements are called server side.
Thanks,
D
Having an issue which must have a simple solution but can't find it.
So I have a field that toggles between disabled and enabled however I can't use Enable and Disable as the values do not get posted back to the server so the obvious solution is to use ReadOnly however what happens is this
1. Form opens and ReadOnly set to true -- works.
2. Form open again and ReadOnly set to false -- does not work as field is now permanently read only & css class remains as read only.
Note the readonly set statements are called server side.
Thanks,
D
Last edited by Daniil; Jan 29, 2014 at 10:59 AM.
Reason: [CLOSED]