in reply to Re^2: Web form to alter files is writing to file before submit button is pressed.
in thread Web form to alter files is writing to file before submit button is pressed.
I often use CGI::Minimal to see what is going on with form inputs. It has a handy function called "calling_parms_table()" which returns a HTML table of all form and environment variables. It will show you what happens when you hit Enter instead of pressing the button - the result seems to vary across different browsers. This becomes important if, say, you had two buttons on the form: make_changes and undo_changes.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Web form to alter files is writing to file before submit button is pressed.
by Anonymous Monk on Mar 12, 2012 at 08:05 UTC |
In Section
Seekers of Perl Wisdom