Changes for version 0.05 - 2011-05-19

  • API CHANGE
    • A custom extractor is now expected to return both the value of the field and the parameter name(s) associated with the field in the form.
    • A repetition_key value for an empty group no longer appears in the result value for that the repetition_key's field.
  • NEW FEATURES
    • Added several methods: Chloro::Group->get_field(), Chloro::ResultSet->add_form_error() Chloro::ResultSet->secure_raw_params(), Chloro::Result::Field->param_names() Chloro::Result::Field->add_error() Chloro::Error::Field->result()
    • Chloro::Error::Field objects now have a weak reference to their associated Chloro::Result::Field object, available via $error->result().

Documentation

Learn how to use Chloro
Repeatable groups in forms
Basic form and field definition

Modules

Form Processing So Easy It Will Knock You Out
An error associated with a specific field
An error associated with a specific field
An error message
A field in a form
A field in a form
A result for a single field
A result for a single group
The set of results from processing a form submission
An interface role for error objects
A role for form classes
A role for named things which are part of a form (fields and groups)
An interface-only role for results
An interface-only for resultset classes
A metaclass trait for classes and roles which use Chloro
A trait that supports role application for roles with Chloro fields and groups
A trait that supports applying Chloro fields and groups to classes
A trait that supports applying Chloro fields and groups to roles
A trait that supports applying multiple roles at once

Provides

in lib/Chloro/Trait/Class.pm
in lib/Chloro/Trait/Role.pm
in lib/Chloro/Types.pm
in lib/Chloro/Types/Internal.pm