I'm trying to submit form from another form.
I'm clicking on NEXT, but form "navForm" doesn't submit.
echo $_POST['check_if_send'];
<form method='post' action='index.php?page=home&act=multi_edit' name='mainTable'>
<a href="#" class="form_arrows left" onClick="document.getElementById('mainTable').submit()">Multi Update</a>
<a href="index.php?page=home&value=n&startRow=10" class="form_arrows " onClick="document.getElementById('navForm').submit()">Previous</a>
<a href="index.php?page=home&value=p&startRow=10" class="form_arrows " onClick="document.getElementById('navForm').submit()">Next</a>
</form>
<form method='post' action='index.php?page=home&act=search' id="navForm" name="navForm">
<input type='hidden' name='check_if_send' value='some_value' />
Submit