The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.33000

  • bug - empty_select check defined Add button field, widget, template Check html attributes for definedness not truth Add ability to set field inactive on new & process in addition to setting active Move 'no_render_label' into Field Use form's language_handle in fields Improve PrimaryKey doc Return empty hashref from $form->value instead of undef Merge experimental Wizard into master Render disabled select options Repeatable contains rendering incorrectly, skipping empty elements Add rendering of form_errors to widgets and Render::Simple
    • If you were using form_errors (there are none by default) and were using HFH rendering, check for compatibility
  • Allow specifying full class for widget with '+' Document removing wrapper div from Simple wrapper Re-do how field messages are stored and accessed. Use messages => {...} instead of various _message attributes Add utilities in util to pull out class messages and check I18N Update I18N messages files (those that were provided by translators) Change render_filter Coderef setting because of leak;
    • Possible incompatibility: if you have a form render_filter, change to function instead of method
  • Change _localize to a Coderef to allow easier changing.
    • If you have a custom _localize method, check for compatibility

Documentation

index of the manual
using HFH forms in Catalyst
FormHandler use recipes
introduction to using FormHandler
how to render with FormHandler
how to use FormHandler with Catalyst

Modules

HTML forms using Moose
role to build field array
base class for fields
a true or false field
captcha field with GD::SecurityImage
a checkbox field type
field consisting of subfields
a date field with formats
compound DateTime field
DateTime::Duration from HTML form values
validates email using Email::Valid
accept integer from 0 to 23
input HTML in a textarea
integer range in select list
validate an integer value
input range from 0 to 59
US currency-like values
select list 1 to 12
select list with month names
multiple select list
for nested elements of compound fields
base class for submit field
positive integer field
repeatable (array) field
used internally by repeatable fields
result class for fields
select list 0 to 59
select list day of week strings
year selection list
internal role for form and compound fields
internationalization
German message translations
base message file
Hungarian message file
Russian message file
Turkish message file
Ukrainian message file
field_list and apply_list
default model base class
Class::DBI model class (non-functioning)
stub for Object model
to add FormHandler sugar
to add sugar to roles
used in Wizard
used in Wizard
params handling
simple rendering role
render a form with a table layout
form result object
role with common code for form & field results
generate and validate captchas
customized replacement for MooseX::Traits
Moose type constraints
validation role (internal)
role to apply widgets
button field rendering widget
HTML attributes field role
hidden field rendering widget
password rendering widget
radio group rendering widget
reset field rendering widget
allow setting options from options keys
select field rendering widget
submit field rendering widget
text field rendering widget
textarea rendering widget
update field rendering widget
set HTML attributes on the form tag
widget to render a form with divs
render a form with a table layout
commong methods for widget wrappers
wrapper that doesn't wrap
wrapper class for table layout
create a multi-page form