Searching for 'populate' didn't get me where I wanted to go, but.. Huzzah.. found it.. $form->default_values( $hash_ref )
On Thu, Sep 22, 2011 at 4:10 PM, J. Bobby Lopez <[email protected]> wrote: > Hello, > > I'm trying to figure out how to pre-populate a formfu form with data I > have in a %hash. The keys in the hash match the names of form > elements (if that's helpful at all). > > The problem I'm running into is understanding how $form->process() > works if nothing has been submitted. If there has been no form > submission (and therefore no $query_object), how can I get formfu to > populate fields with existing data from my %hash? > > Reviewing formfu docs didn't provide any insight on this (or I missed > it). Can anyone shed some light on this? > > Thanks, > -Bobby > _______________________________________________ HTML-FormFu mailing list [email protected] http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
