Hi,
I am trying to submit 2 forms on the same page at the same time with just the one button.
The 1st form INSERTS into MySQL DB. <form... action="<?php echo $editFormAction; ?>" blahblah
The 2nd form post through to the next page <form... action="next_page.php"> blah blah blah
I have tried using the following JavaScript but to no avail.
<script language="JavaScript">
function submitForms()
{
window.document.form1.submit();
window.document.form2.submit();
}
</script>
<a href="JavaScript:submitForms()">submit page</a>
If you can help it would be appreciated