[html-formfu] Missing date elements

Carl Franks fireartist at gmail.com
Wed Jun 25 11:21:51 BST 2008


2008/6/23 Ronald J Kimball <rkimball+formfu at pangeamedia.com>:
> However, if I call process() on the form before rendering it, then the date
> elements are properly rendered.  The documentation says:
>
>  process
>
>    Arguments: [$query_object]
>
>    Arguments: [\%params]
>
>    Process the provided query object or input values. This must be
>    called before calling any of the methods listed under "SUBMITTED
>    FORM VALUES AND ERRORS" and "MODIFYING A SUBMITTED FORM".
>
>    It's not necessary to call "process" before printing the form or
>    calling "render".
>
> Note that last sentence.  So, is this a bug in the code, or an error in the
> documentation?

Thanks for picking up on this.
Yes, that part of the documentation was out of date - I've fixed it now.

The fact that process() must always be called before render() came up
on the list a couple of times earlier in the year - but I forgot to
include it in the list of changes.

Carl



More information about the HTML-FormFu mailing list