posted 19 years ago
Couple things:
1. Hidden element vor disabled checkbox always works - you did something wrong. Basically
equals to
2. From security point of view (not sure, if that matters in your particular case) user is able to change/remove this element using scriplets, so there is a possibility of getting wrong value for that "disabled" element.
I would suggest you to keep a state somewhere and not relay on what you get from client.
3. There are couple other ways of doing the same thing, for example:
a) define checkbox as read only and use CSS to make it look like it disabled
b) define is as normal or readonly and "hidden"
c) dynamically add a hidden input or a checkbox to a form uppon submission