Changes for version 0.35000
- Add support for tabindex attribute. Generic html attribute setting (html_attr) Set 'processed' flag when building results in BUILD to fix problem with garbage collected results.
- it's possible that this may break code if field values were being set outside of FormHandler, or params were set on new. Pass params on process. Set fields inside FormHandler, or run clear first, then set values. In general, it works best to update fields inside a FormHandler class, in a method or method modifier. Building results in 'new' happened originally because people expected to be able to do $form->render after new, without process. But you're better off always running 'process'. Add flag 'no_preload' to skip building results in new (BUILD) if not needed Add flag 'no_widgets' to skip applying widgets to fields if not needed Fix for Date fields in compounds. Types Printable & SingleWord use class messages Add link to the bug tracker into the HELP section in the Pod. Change how field_traits work: apply traits to field objects, add new class method apply_traits (Stephen Thirlwall)
Documentation
index of the manual
using HFH forms in Catalyst
FormHandler use recipes
introduction to using FormHandler
concise reference
how to render with FormHandler
using templates
how to use FormHandler with Catalyst
Modules
HTML forms using Moose
role to build field array
used in Wizard
base class for fields
a true or false field
button field
captcha field with GD::SecurityImage
a checkbox field type
field consisting of subfields
a date field with formats
m/d/y date field
compound DateTime field
display only field
DateTime::Duration from HTML form values
validates email using Email::Valid
hidden field
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 1 to 31
select list with month names
multiple select list
for nested elements of compound fields
base class for submit field
password field
password confirmation
positive integer field
primary key field
repeatable (array) field
used internally by repeatable fields
reset field
result class for fields
select list 0 to 59
select fields
submit field
text field
textarea input
file upload field
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
Swedish message translations
Turkish message file
Ukrainian message file
internal code
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 by Wizard
used in Wizard
params handling
simple rendering role
render a form with a table layout
tt rendering
form result object
role with common code for form & field results
generate and validate captchas
localization
customized replacement for MooseX::Traits
Moose type constraints
validation role (internal)
role to apply widgets
button field rendering widget
HTML attributes field role
checkbox group field role
compound field widget
hidden field rendering widget
no rendering widget
password rendering widget
radio group rendering widget
repeatable field widget
reset field rendering widget
apply HTML attributes
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
fieldset field wrapper
wrapper that doesn't wrap
simple field wrapper
simple field wrapper
wrapper class for table layout
wrapper class for table layout that doesn't wrap compound fields
create a multi-page form