6 Oct
2015
6 Oct
'15
3:13 p.m.
On Tue, 2015-10-06 at 09:46 -0500, Richard Reina wrote:
If I've understood correctly, then I'd just have the one form, and use different submit button names.
The only thing with the approach of two submit buttons is that the second submit button triggers the required fields that are meant for the first submit button and thus don't allow the submission. Would you happen to know a way around this?
Surely that doesn't matter and you can just ignore those fields? if (param 'submit1') { my $value1 = param 'value1'; } elsif (param 'submit2') { ... # process second submission }