wood burning stoves 2.0*
The moose likes Spring and the fly likes <form:checkboxes> Is it possible to always have unchecked by default upon form load Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "<form:checkboxes> Is it possible to always have unchecked by default upon form load" Watch "<form:checkboxes> Is it possible to always have unchecked by default upon form load" New topic
Author

<form:checkboxes> Is it possible to always have unchecked by default upon form load

laura mccord
Ranch Hand

Joined: Feb 10, 2009
Posts: 108
I have a dilemma. I need my <form:checkboxes> always left unchecked regardless if they contain a value the first time the form is loaded. Is this possible or am I wasting my time?

Here is my snippet of my checkboxes:



The onChange() function acts as a toggle with the Submit button. Upon the user making a selection the submit button will display. If no action is taken place, the submit button is hidden.

Any suggestions?

Thanks
 
 
subject: <form:checkboxes> Is it possible to always have unchecked by default upon form load
 
Similar Threads
How do I use <form:form> with an Object that contains a Set
Automating HTML form input
Interupting a submit button call
uploading multiple files, 'post' not working off server (works fine off local host)
keep the values of my input text fields