You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Juan Alvarado <ja...@manduca.com> on 2001/11/15 18:42:02 UTC
html checkbox tag
Can anyone tell me why the following is happening.
I have a form with some textboxes, radio buttons, a drop-down and a single
checkbox control.
The checkbox control looks like: Sports: <html:checkbox
property="categories" value="sports" />
I have implemented the validate method in my form to make the user enter a
value in one of my textboxes. Whenever a value is not entered, the user is
forwarded back to the form. However, the previous state of all the controls
in the form are kept with the exception of the checkbox. In other words, if
I check it and don't enter a name in the textfield for name and submit the
form, when I get redirected back to the form, the checkbox is not checked.
Thanks in advance
**********************************************
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
jalvarado@manduca.com
AOL Instant Messenger: juan2000@aol.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>