Submit all Checkboxes

2007-10-31 Thread Richard Sayre
I have a variable amount of check boxes with the same name. I want to submit all of the check boxes weather they are checked or not. Right now I only get an of array for the ones that are checked. My form has x number of 'Name' text fields x number of 'Activate' check boxes for another. The

Re: Submit all Checkboxes

2007-10-31 Thread Dave Newton
Which version of Struts? S2 has this capability built-in. S1 can use the same technique by including a hidden form field. d. --- Richard Sayre [EMAIL PROTECTED] wrote: I have a variable amount of check boxes with the same name. I want to submit all of the check boxes weather they are

Re: Submit all Checkboxes

2007-10-31 Thread Richard Sayre
I am using struts 2. Right now when I submit I only get the values of the checked boxes by default. On 10/31/07, Dave Newton [EMAIL PROTECTED] wrote: Which version of Struts? S2 has this capability built-in. S1 can use the same technique by including a hidden form field. d. --- Richard

Re: Submit all Checkboxes

2007-10-31 Thread Dave Newton
Default stack? --- Richard Sayre [EMAIL PROTECTED] wrote: I am using struts 2. Right now when I submit I only get the values of the checked boxes by default. On 10/31/07, Dave Newton [EMAIL PROTECTED] wrote: Which version of Struts? S2 has this capability built-in. S1 can use the

RE: Submit all Checkboxes

2007-10-31 Thread Slattery, Tim - BLS
I have a variable amount of check boxes with the same name. I want to submit all of the check boxes weather they are checked or not. Right now I only get an of array for the ones that are checked. Sorry, that's the way HTML works. Checkboxes values are sent only when the box is checked.

RE: Submit all Checkboxes

2007-10-31 Thread Dave Newton
If you're using S2's default stack and the S2 checkbox tags the hidden fields are created for you. d. --- Slattery, Tim - BLS [EMAIL PROTECTED] wrote: I have a variable amount of check boxes with the same name. I want to submit all of the check boxes weather they are checked or not.