HTML::...:Fields(3pm)

πŸ“¦
version 0.40068 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute

okay bestie, welcome to HTML::...:Fields(3pm) β€” a User Contributed Perl Documentation page, and it's all about the HTML::FormHandler::Fields role. πŸ’–

✨ NAME ✨

HTML::FormHandler::Fields β€” internal role for form and compound fields. 🫢

πŸŽ€ VERSION πŸŽ€

version 0.40068

πŸ¦‹ SYNOPSIS πŸ¦‹

A role to implement field attributes, accessors, etc. To be applied to HTML::FormHandler and HTML::FormHandler::Field::Compound. no cap, that's the whole vibe. ✨

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

🚨 heads up, bestie: that second parameter? it makes it die. fr fr.

🧚 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

🌟 AUTHOR 🌟

FormHandler Contributors - see HTML::FormHandler

This software is copyright (c) 2017 by Gerda Shank.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


mwah πŸ’‹ bye bestie! this page is from perl v5.34.0, dated 2022-03-25, and it's the HTML::...:Fields(3pm) manual. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from