I have a order form working with sessions. I would like to add a javascript onsubmit validation that work fine in another contact form. My problem is how to combine the the action=\"order_table.php\" with the action onsubmit.
<?php
session_start();
echo "<form name=\"aaaa\" method=\"post\" action=\"order_table.php\">";
?>
combine with this other "form action":
onsubmit="MM_validateForm('email','','RisEmail','nom','','R','prenom','','R','rue','','R','ville','','R', 'tel','','R');return document.MM_returnValue">
Thanks for your help
My test form is : http://paolinet.info/sessions/order_form_table.php