Un submit pour plusieurs <form>

Fermé
exelec Messages postés 4 Date d'inscription mardi 8 mars 2005 Statut Membre Dernière intervention 18 juillet 2009 - 23 juin 2009 à 18:27
Bonjour,
est il possible de mettre un seul submit pour plusieurs <form> , en un seul clic tout es envoyé aider moi
voici mon code
script java ici
apres
le reste
<form name='form2'method="POST" action="traitement.php">
<b>appel1</b><br>
<b>ERREUR :</b> <br>
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 1
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 2
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 3
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 4
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 5
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 6
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 7
<br>
<input type="hidden" name="calculatedTotal" value="0">
<input type="hidden" name="previouslySelectedRadioButton" value="0">
<strong>Your total is:</strong>
<input type="text" name="total" readonly onfocus="this.blur();">
</form>
<form name='form3'method="POST" action="traitement.php">
<b>passe pas :</b> <br>
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 1
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 2
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 3
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 4
<input type="checkbox" name="Sauce" value="1" onclick="this.form.total.value=calculateTotal(this);"> 5
<br>
<input type="hidden" name="calculatedTotal" value="0">
<input type="hidden" name="previouslySelectedRadioButton" value="0">
<strong>Your total is:</strong>
<input type="text" name="total" readonly onfocus="this.blur();">
</form>
<br>
<input type="hidden" name="calculatedTotal" value="0">
<input type="hidden" name="previouslySelectedRadioButton" value="0">
<strong>Your total is:</strong>
<input type="text" name="total" readonly onfocus="this.blur();">
</form>
<INPUT TYPE="submit" value="submit" name="nom" onClick="submitFormsById(Array('form1','form2','form3'))">
<input type="submit" value="envoyer" />

</fieldset>
</td></tr></table>//