I used this test code to debug an issue:
If you run it, the $_POST value for "submit" is not set if you press ENTER within the text field.
"submit" IS SET if you TAB onto the submit button and hit ENTER or if you mouse click the "submit" button.
This seems sort of obvious, but I was operating under the assumption that the "submit" event is always present in a submitted form. I NEED to see the "submit" button value in my present form processing code.
Any help much appreciated!!!!!
Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
Code:
<?php
print_r($_POST);
?>
<form name="test" action=<?php print $_SERVER["PHP_SELF"]; ?> method="POST">
<input type=text name=sometext>
<input type=submit name=submit value=submit>
</form>
If you run it, the $_POST value for "submit" is not set if you press ENTER within the text field.
"submit" IS SET if you TAB onto the submit button and hit ENTER or if you mouse click the "submit" button.
This seems sort of obvious, but I was operating under the assumption that the "submit" event is always present in a submitted form. I NEED to see the "submit" button value in my present form processing code.
Any help much appreciated!!!!!
Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.