Changes for version 0.03006 - 2008-12-03

  • New DateTime element.
  • New MinRange, MaxRange, File::MinSize, File::MaxSize constraints to provide more specific error messages.
  • New File::Size constraint methods: min_kilobyte(), max_kilobyte(), min_megabyte(), max_megabyte().
  • New config_file_path() method, used by load_config_file() and load_config_filestem().
  • New field_order() method for Date elements.
  • New I18N translations for Romanian, Russian, Ukranian.
  • New MultiForm system for multi-page forms (not yet documented, file upload tests skipped due to test problems on MS Win32).
  • Length, Range and File::Size constraints now pass min() and max() values as I18N args, for use in strings.
  • DependOn and Equal constraints now pass the root field label as I18N arg, for use in strings.
  • Checkbox + Radio elements now default to value(1).
  • Constraint when() method now works with nested_names().
  • Using test aggregate to speed-up tests.

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
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
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
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/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