HTML::FormHandler::Fields(3pm)

HTML::FormHandler::Fields3pm

Internal role for form and compound fields

Usage

A role to implement field attributes, accessors, etc. To be applied to HTML::FormHandler and HTML::FormHandler::Field::Compound.

fields

The field definitions as built from the field_list and the 'has_field' declarations. This provides clear_fields, add_field, remove_last_field, num_fields, has_fields, and set_field_at methods.

field( $full_name )

Return the field object with the full_name passed. Will return undef if the field is not found, or will die if passed a second parameter.

field_index

Convenience function for use with 'set_field_at'. Pass in 'name' of field (not full_name)

sorted_fields

Calls fields and returns them in sorted order by their "order" value. Non-sorted fields are retrieved with 'fields'.

clear methods

  clear_data
  clear_fields
  clear_error_fields

Dump information

   dump - turn verbose flag on to get this output
   dump_validated - shorter version

Version

version 0.40068

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12–13

Author

FormHandler Contributors - see HTML::FormHandler

From libhtml-formhandler-perl 0.40068-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.