leatherback wrote:You could use a hidden variable...
I always do what leatherback suggests and use a hidden input like this:
<input type='hidden' name='submit_check' value='1'>
Then, I can check to see if $submit_check ==1, then the form was submitted by thc submit button or if a user hit the enter key on their keyboard...
😃