Changes for version 0.04000 - 2009-03-26

  • Incompatible Change: plugins process() method is now run *after* elements' process() method.
  • Incompatible Change: Button element no longer sets retain_default(1) - now sets force_default(1). Fixes bug where multiple buttons with same name were getting the wrong value after being redisplayed after errors.
  • New pre_process() plugin method that runs at the same time as the old process() hook.
  • New Model::HashRef.
  • New inherited method locale() available on forms, blocks and fields.
  • New Element::Number.
  • New Deflators: FormatNumber, PathClassFile, Callback.
  • New Filter::FormatNumber.
  • New Inflator::Callback.
  • New Norwegian I18N translation.
  • Updated vertically-aligned CSS.
  • config_file_path() now supports a list of directories.
  • Checkboxgroup + Radiogroup elements others() method now supports 'container_attributes' hash-key
  • Constraint when() condition no longer demands a 'value' or 'values' key - if it's missing, the constraint will pass on any true value.
  • Bugfix: _Group elements - ensure 'empty_first' gets set before any 'options', 'values', 'value_range'.
  • Bugfixes for constraint attach_errors_to_base(), attach_errors_to_others().
  • Bugfix: Repeatable blocks now correctly rename nested-names in constraints' others().
  • Bugfix: Repeatable blocks now rename field names in constraints' when().
  • Bugfix: Repeatable blocks now reparent fields' plugins.

Documentation

deploy local copy of HTML::FormFu template files
Cooking with HTML::FormFu
Working with unicode

Modules

HTML Form Creation, Rendering and Validation Framework
Constrain User Input
ASCII Characters Constraint
Multi-field All or None Constraint
Set Constraint for Selects / Radiogroups
Boolean Constraint
Code Callback Constraint
Code Callback Constraint
Multi-field Dependency Constraint
Email Address Constraint
Multi-field Equality Constraint
File Upload Constraint
Maximum File Size Constraint
Minimum File Size Constraint
Unsigned Integer Constraint
Min/Max Length String Constraint
Maximum Length String Constraint
Maximum Value Constraint
Minimum Length String Constraint
Min/Max Multi-field Constraint
Minimum Value Constraint
Numerical Constraint
Printable Characters Constraint
Numerical Range Constraint
Required Field Constraint
Set of Values Constraint
Single Value Constraint
Single Word Constraint
Base class for constraints needing others() method
Deflator Base Class
CompoundDateTime deflator
CompoundSplit deflator
Format a number for a locale
Deflator for Path::Class::File objects
Element Base Class
Button form field
Checkbox form field
Group of checkbox form fields
Select / Text hybrid
Button form field containing markup
3 select menu multi-field
Date / Time combo field
File upload form field
Hidden form field
horizontal-rule element
Image button form field
Combine multiple fields in a single element
Number element with formatting
Password form field
Radio form field
Group of radiobutton form fields
repeatable block element
Reset button form field
Select form field
simple table element
custom HTML element
Submit button form field
Text form field
Textarea form field
base class for all form-field elements
grouped form field base-class
input field base-class
base class for single-tag elements
"Are you human" tester!
Filter Base Class
filter with custom subroutine
CompoundSprintf filter
copy the value from an other field
Encode/Decode Submitted Values
Convert a formatted number from a known locale
filter escaping HTML
filter removing HTML markup
filter transforming to lower case
filter removing all non-numeric characters
regexp-based match/replace filter
filter splitting a singe valut into an arrayref
filter timming whitespace
filter transforming to upper case
filter stripping all whitespace
base class for Compound filters
Inflator Base Class
CompoundDateTime inflator
base class for models
Post-process HTML output
Nicely Indent HTML Output
Strip shitespace from HTML output
base class for plugins
place valid params on form stash
base class for constraints
Transformer Base Class
uploaded file
Validator Base Class

Provides

in lib/HTML/FormFu/Constants.pm
in lib/HTML/FormFu/Deploy.pm
in lib/HTML/FormFu/Exception.pm
in lib/HTML/FormFu/Exception/Constraint.pm
in lib/HTML/FormFu/Exception/Inflator.pm
in lib/HTML/FormFu/Exception/Input.pm
in lib/HTML/FormFu/Exception/Transformer.pm
in lib/HTML/FormFu/Exception/Validator.pm
in lib/HTML/FormFu/FakeQuery.pm
in lib/HTML/FormFu/I18N.pm
in lib/HTML/FormFu/I18N/da.pm
in lib/HTML/FormFu/I18N/de.pm
in lib/HTML/FormFu/I18N/en.pm
in lib/HTML/FormFu/I18N/es.pm
in lib/HTML/FormFu/I18N/fr.pm
in lib/HTML/FormFu/I18N/it.pm
in lib/HTML/FormFu/I18N/ja.pm
in lib/HTML/FormFu/I18N/no.pm
in lib/HTML/FormFu/I18N/pt_br.pm
in lib/HTML/FormFu/I18N/pt_pt.pm
in lib/HTML/FormFu/I18N/ro.pm
in lib/HTML/FormFu/I18N/ru.pm
in lib/HTML/FormFu/I18N/ua.pm
in lib/HTML/FormFu/Literal.pm
in lib/HTML/FormFu/Localize.pm
in lib/HTML/FormFu/ObjectUtil.pm
in lib/HTML/FormFu/OutputProcessor/StripWhitespace.pm
in lib/HTML/FormFu/Preload.pm
in lib/HTML/FormFu/Util.pm
in lib/HTML/FormFu/base.pm

Examples