[html-formfu] setting default values

Ascii King tech at swattermatter.com
Sun Oct 18 17:45:44 GMT 2009


Carl Franks wrote:
> Ah, I thought at first you were using HTML::FormFu::Model::HashRef -
> but I see from the error message it's HTML::FormFu::Model::DBIC.
>
> I think you're really just wanting the core form method - not the
> method on model():
>
>     $form->default_values({ \%vals });
>
> Carl
>
>   
That did it. Thanks for the help, guys.



More information about the HTML-FormFu mailing list