[html-formfu] how to populate a form from a hash?
Andreas Borowski
ABorowski at gmx.net
Wed Sep 19 16:34:25 GMT 2007
Hi,
is there a method to provide default values for each element in a form
from a hash? Something like:
$form->set_default_values(
{ street => 'Bakerstreet',
city => 'London'}
);
So far, I tried $form->process( %hash ). This fills in the values into
the fields, but also creates unwanted error-messages for failed
constraints.
regards,
andreas
More information about the HTML-FormFu
mailing list