HTML::...:Multi(3pm)

πŸ“¦
version 2.07000 Β· 5 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’… HTML::FormFu::Element::Multi β€” the manual, but make it cute

okay bestie, gather round, because we're talking about HTML::FormFu::Element::Multi (that's the 3pm one, you know the vibe) and honestly? she's an icon. this is the element that takes a bunch of form fields and lets them share one single logical home together. found family, but for inputs. 🫢


✨ NAME ✨

HTML::FormFu::Element::Multi β€” Combine multiple fields in a single element. yes that's literally the whole job description and she ate. πŸ‘‘


🌸 VERSION 🌸

version 2.07

(no cap, that's the number, don't @ me) πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

here's the moment you've been waiting for, the one-liner that does it all:

my $e = $form->element( Multi => 'foo' );

that's it. that's the whole ritual. manifesting your Multi element into existence. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: a Multi element lets you combine multiple form fields into a single logical element. one element, many fields, maximum main character energy. 🌈

but β€” and this is important, bestie β€” non-field elements cannot be added as children of the Multi element. like, she's got standards. only fields allowed in the group chat. πŸ™ˆ


πŸ’… RENDERING NOTES πŸ’…

this part is giving "the rules apply to everyone equally" and honestly? respect.

  • If the Multi element is rendered with the default 'string' render-method, all child fields will be rendered with the 'string' render-method, regardless of their render_method in HTML::FormFu value.
  • Likewise, if the Multi element is rendered with the 'tt' render-method, all child fields will be rendered with the 'tt' render-method, regardless of their render_method in HTML::FormFu value.

so yeah, when mama Multi picks a render method, the whole squad matches. it's a coordinated outfit. it's a group costume. it's iconic. 🧚


πŸ‘€ SEE ALSO πŸ‘€

  • Is a sub-class of, and inherits methods from HTML::FormFu::Role::Element::Field, HTML::FormFu::Element β€” so if you're looking for inherited methods, that's where the family tree lives. 🌳
  • HTML::FormFu β€” the big parent, the whole universe this girl lives in. πŸ’œ

🌟 AUTHOR 🌟

Carl Franks, cfranks@cpan.org

(hi Carl, we love you, thank you for your service 🫢)


πŸ“œ LICENSE πŸ“œ

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

translation: do what you want bestie, just keep it as free as Perl. slay. ✨


🌟 AUTHOR (yes, again, she said it twice and she's right) 🌟

Carl Franks <cpan@fireartist.com>


This software is copyright (c) 2018 by Carl Franks.

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

periodt. no notes. πŸ’…


and that's the whole page, bestie! πŸ’œ this was perl v5.28.1, dated 2019-01-12, and it's the HTML::FormFu::Element::Multi(3pm) manual β€” now go forth and combine your fields into one gorgeous logical element. you're gonna do amazing. mwah. πŸ˜­πŸ’–πŸŽ€

πŸ“¦ where this page comes from