is it possible to submit 2 (or more !!) forms at once ??<br><br> - i have very specific validation functions, actually, they expect a form to b passed as parameter (say, check_subform1(form1), check_subform2(form2) )<br> - that's why i have to have 2 forms in my page (form1 & form2)<br><br> i've tried both :<br>-------------------------------------<br>in the script part<br>function validate_all(){<br> if (check_subform1(form1)&&check_subform2(form2)) {<br> form1.submit();<br> form2.submit();<br> }<br>}<br>in the htm part<br><form name="form1" action="url.cfm"><br>...<br></form><br><form name="form2" action="url.cfm"><br>...<br></form><br><form><br><input type=button onclick="javascript:validate_all()"><br></form><br><br>this submits only form2 (and, if in validate_all() i invert form1 and form2, it submits only form1 of course)<br>--------------------------------------------<br>and :<br>in the script part<br>function validate_all(){<br> if (check_subform1(form1)&&check_subform2(form2)) <br> la_form.submit();<br>}<br>in the htm part<br><form name="la_form" action="url.cfm"><br> <form name="form1"><br> ...<br> </form><br> <form name="form2"><br> ...<br> </form><br><input type=button onclick="javascript:validate_all()"><br></form><br><br>this actually doesn't find form1 (neither form2)<br>------------------------------------------------<br><br>any clue ?<br>could document.all.forms.forms[0].any_property work ?????<br><br><br><br>