I have several fields: checkbox, label, and a submit button. The scenario is as follows:
if checkbox = true enable label/submit
Now, the checkbox is persistant so I need a way to enable/disable the label and submit when returning to the page based on the value of the checkbox. This is a jsp page that uses a value object to maintain the variable. How can I do this?
Well, my problem is this... I have a value-object that maintains the value of the checkbox. When the page loads, if the the value is true, I enable the label/submit combo. However, if after the page loads, I decide to uncheck the box, it disables the label/submit combo.