This is a form in one HTML document:
<form action="" method="post" name="f1">
//Checkboxes, buttons, ....
<button onclick="submitForms()"/>Submit</button>
</form>
//Other stuff
<?php include 'another.html'; ?>
In another.html,
//Other stuff
<form action="" method="post" name="f2">
//Checkboxes
</form>
//Other
Can I submit both forms with the single submit?
This does not work:
submitForms = function(){
document.forms["f1"].submit();
document.forms["f2"].submit();}