[html-formfu] Possible bug - Submit element when forms have errors

David Dorward david at dorward.me.uk
Wed Feb 18 18:07:34 GMT 2009


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



More information about the HTML-FormFu mailing list