Hi,
I have a form with two buttons "Yes" and "No". I want to know how I determine which one has been pressed for the form action.
I've tried using the following to determine if "No" was pressed, but it doesn't work:
<form id="Form" name="Form" method="post" action="<?php if (Form("submit") == "No") {echo "index.php";} ?>">
<input name="Yes" type="submit" value="Yes" />
<input name="No" type="submit" value="No" />
</form>
Thanks for any help,
~Oni.