a Perl Moose HTML form handler
Perl Other
Latest commit 0835397 Jul 20, 2017 @gshank blank lines for versions
Failed to load latest commit information.
lib/HTML blank lines for versions Jul 20, 2017
share/templates add example of rendering with render_elementx Jun 24, 2015
t Merge pull request #132 from rouzier/build_render_list_method Jul 20, 2017
util update messages file Sep 22, 2016
xt allow passing Email::Valid params to Email field Sep 12, 2013
Changes update Changes Jul 20, 2017
MANIFEST.SKIP use perl regexps in MANIFEST.SKIP May 23, 2015
README.md Add a README.md file Jul 15, 2015
dist.ini bump version to 0.40068 Jul 20, 2017


HTML::FormHandler - HTML forms using Moose

See the manual at HTML::FormHandler::Manual.

HTML::FormHandler maintains a clean separation between form construction and form rendering. It allows you to define your forms and fields in a number of flexible ways. Although it provides renderers for HTML, you can define custom renderers for any kind of presentation.

HTML::FormHandler allows you to define form fields and validators. It can be used for both database and non-database forms, and will automatically update or create rows in a database. It can be used to process structured data that doesn't come from an HTML form.

One of its goals is to keep the controller/application program interface as simple as possible, and to minimize the duplication of code. In most cases, interfacing your controller to your form is only a few lines of code.

The typical application for FormHandler would be in a Catalyst, DBIx::Class, Template Toolkit web application, but use is not limited to that. FormHandler can be used in any Perl application.


This git repository can build a HTML::FormHandler distribution using dzil command from the Dist::Zilla distribution that you could install using cpan.

Once you have Dist::Zilla installed this distribution can be build or installed using dzil:

 dzil build   # Generates a build directory and the targz of the  HTML::FormHandler distribution
 dzil install # Installs the distribution.