Thanks for reporting this. I've updated the code, so that it matches the documented behaviour. It's available on github, and will be included in the next cpan release. Carl
On 19 December 2012 01:20, Hailin Hu <i...@h2l.name> wrote: > In the doc: > > param_value > If the value is invalid or the form was not submitted, it returns undef. > > But in the source code: > > sub param_value { > # ignore $form->valid($name) and $form->submitted > > So, which one is expected? > > _______________________________________________ > HTML-FormFu mailing list > HTML-FormFu@lists.scsys.co.uk > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu