logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTML::FormHandler::Fields - internal role for form and compound fields

Author

       FormHandler Contributors - see HTML::FormHandler

Name

       HTML::FormHandler::Fields - internal role for form and compound fields

Synopsis

       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'.

   clearmethods
         clear_data
         clear_fields
         clear_error_fields

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

Version

       version 0.40068

See Also