The problem I have is trying to default a checkbox on the initial load of the page, but then be set to whatever it is on submit.ie
I have two checkboxes, Assessed, and Non-Assessed. I want Non-Assessed to be defaulted to checked the first time the user views the page. However, the user can uncheck this box when he submits the page.
How would I achieve this? I've tried "setNonAssessed(true)" on the property in the action form's contstructor, and then adding a "setAsssessed(false)" statement to the reset method of the actionform, but this just causes the Non-Assessed box to be "rechecked" after I've submitted the form. I'm stumped
...
thanks in advance!
Jason