HTML-FormFu
view release on metacpan or search on metacpan
lib/HTML/FormFu/Model/HashRef.pm view on Meta::CPAN
]
} );
$form->default_model('HashRef');
my $hashref = $form->model->create();
# $hashref is very much the same as the hashref you passed to default_values()
=head1 DESCRIPTION
If you need the content of a formular as hashref or for processing with other modules
like C<JSON> you can use this model.
=head1 METHODS
=head2 create
This method creates a hashref from a filled form. This form can be filled by calling
L<HTML::FormFu/default_values>, default_values of any other model class (e. g. L<HTML::FormFu::Model::DBIC>)
or by simply submitting the form.
( run in 0.275 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )