HTML::...ieldset(3pm)

πŸ“¦
version 1.11 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– HTML::Widget::Element::Fieldset πŸ’–

okay bestie, so this is the manual page for HTML::Widget::Element::Fieldset β€” it's a Perl module, it lives in the User Contributed Perl Documentation section (3pm, if you're keeping track), and honestly? it's giving ✨organizational queen✨. it's short, it's sweet, and it's about to make your forms look so good.


🌸 NAME 🌸

HTML::Widget::Element::Fieldset β€” the Fieldset Element, periodt πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

here's the vibe, literally exactly like this:

my $fs = $widget->element( 'Fieldset', 'address' );
$fs->element( 'Textfield', 'street' );
$fs->element( 'Textfield', 'town' );

see how it just nests? iconic. no cap. πŸ¦‹


✨ DESCRIPTION ✨

so <Fieldset> is a container element β€” it creates a fieldset that can hold other Elements inside it. that's it, that's the whole thing. it's the mom friend of elements: it doesn't do much itself, it just holds everyone together 🫢.

like, think of it as a lil box where you put all your related inputs so they're grouped and cute. highkey a slay.


πŸ‘‘ METHODS πŸ‘‘

🌟 new

it exists. it's the constructor. you get a fresh Fieldset out of it. main character energy from birth, honestly πŸ’œ.

🌟 legend

set a legend for this fieldset. that's the lil caption/title text that shows up on the border of the fieldset, so your users know what this whole group is actually about. very "let me introduce myself" of you, fr fr πŸŽ€.


πŸ¦‹ SEE ALSO πŸ¦‹

  • HTML::Widget::Element β€” go look at the parent class bestie, it's where all the family drama lives πŸ’–

πŸ’œ AUTHOR πŸ’œ

Michael Gray, mjg@cpan.org β€” king behavior, we love a credited author ✨


πŸ“œ LICENSE πŸ“œ

this library is free software, and you can redistribute it and/or modify it under the same terms as Perl itself. so like, go off, but respectfully 🌈.


reminder bestie: this whole thing is documented in the User Contributed Perl Documentation, and the page itself is versioned with perl v5.36.0 dated 2023-08-10 β€” so that's the lil time capsule we're living in πŸŽ€βœ¨πŸ’…

stay nested, stay slay πŸ«ΆπŸ’–

πŸ“¦ where this page comes from