good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Naming the submit button isn't enough, since people can submit forms by hitting Enter on a text field, in which case the named submit button isn't referenced. What I do is include a hidden field called submitted and then check for that:
<input type="hidden" name="submitted" value="1">
In reply to Re: Web form to alter files is writing to file before submit button is pressed.
by TJPride
|
|