Agreed, I rarely hit the submit button on forms..feyd wrote:Why should we have to click a button to submit a form?Styx wrote:ok, that's how they do it in the phpBB software, so that's what I've been going by
It's probably more reasonable to say that hitting enter from a text input field is wrong and you should submit a form by clicking the submit button.
If you don't want to use that, use if ($_SERVER['REQUEST_METHOD'] == 'POST')
Problem submiting form
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- maliskoleather
- Forum Contributor
- Posts: 155
- Joined: Tue May 15, 2007 2:19 am
- Contact: