Carl Franks wrote:
Then your code would change from checking the submitted value, to
checking which name was sent:
    if ( $form->param('save') ) { }
    elsif ( $form->param('finish') ) { }
    # etc..
That would work, but I'd consider it to be a hack.

Having multiple buttons with the same name is an accepted means to pick one of a number of values while submitting a form.

--
David Dorward

_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to