P is for Practical | |
PerlMonks |
Re: How to perform different actions before and after submit button is clicked.by tangent (Parson) |
on Aug 31, 2015 at 23:12 UTC ( [id://1140582]=note: print w/replies, xml ) | Need Help?? |
To get the value of a form input you need to give it a name, so change your button to:
Then you can see if it was clicked:
In Section
Seekers of Perl Wisdom
|
|