SACHIN MURGUNDE wrote:
  Hi All,
I am having a Web page which has say more than 10 forms in it and each form has set of checkbox with same name (e.g. 9(nine) checkbox with name chkTest in a form) and all form have same set of checkbox with same name. On a single submit button i want all the values from all from for all checkboxes. Is it possible if not then is there any other way through which i can do the same. I am very new to struts, so if any one can help me finding some good reading stuff regarding the same would be appreciated. I am right now playing with E.g. provided with Struts and its documents.

It's not possible in plain HTML to have a submit button in one form cause another form to be submitted. You would have to collapse all your forms into one (i.e. have a single <form> tag at the start of the page and a single </form> closing tag at the end of the page).

Your only other option would be to use Javascript to submit each form, reading values from the other forms and including them along with the current form's values.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to