[html-formfu] how to populate a form from a hash?
Andreas Borowski
ABorowski at gmx.net
Thu Sep 20 00:38:38 GMT 2007
On Wed, 19 Sep 2007 18:16:31 +0100
html-formfu-request at lists.scsys.co.uk wrote:
> You can use something like te following before calling 'process':
> $hashref = { street => 'Bakerstreet', city => 'London'};
> map { $form->get_field( $_ )->default( $hashref->{$_} ) } keys
> $hashref;
>
> Greets,
> Mario
Thanks Mario,
this solved my problem.
best regards,
andreas
More information about the HTML-FormFu
mailing list