[html-formfu] Populate form using a complex hashref?
Carl Franks
fireartist at gmail.com
Fri Feb 27 11:10:19 GMT 2009
2009/2/27 Moritz Onken <onken at houseofdesign.de>:
> Hi,
>
> is it possible to populate a form with data using a complex hashref in
> ->process()?
>
> I'd like to fill a form with data like this:
>
> {user => "test", addresses => [{address => "somwhere"},{address =>
> "somewhere else"}]}
>
> where "addresses" is a repeatable block.
No.
If this were added, it should be to default_values(), not process().
Passing a hash-ref to process() is just an easy way to fake a query object.
Carl
More information about the HTML-FormFu
mailing list