and if you<input type="submit" name="action" value="Search"> <input type="submit" name="action" value="Logout">
you can then test for what action to do:use CGI;
if (param("action") eq "Search") { # ... } # ...
Please take into account that this comes from the back of my head and I have not been doing CGIs for more than a year now; still it should be correct.
| Regards... | Stefan |
| you begin bashing the string with a +42 regexp of confusion | |
In reply to Re: form buttons
by stefan k
in thread form buttons
by win95progman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |