HTML::...heckbox(3pm)

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

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

okay bestie, so this is the manual for HTML::Widget::Element::Checkbox β€” yes that's the real module name, it lives in the HTML::Widget::Element::Checkbox family and it is literally the checkbox element. that's it. that's the whole vibe. ✨


✨ SYNOPSIS ✨

here's how you actually use it, no gatekeeping:

my $e = $widget->element( 'Checkbox', 'foo' );
$e->comment('(Required)');
$e->label('Foo');
$e->checked('checked');
$e->value('bar');

look at that. clean. iconic. πŸŽ€


🌸 DESCRIPTION 🌸

Checkbox Element. yeah that's the entire description, she's brief but she's booked and busy. πŸ’…


πŸ¦‹ METHODS πŸ¦‹

retain_default

if this is true, it overrides the default behaviour. so picture this: a field is missing from the form submission, right? normally the xml output would just be empty. but with retain_default set, the xml output will contain the default value instead. so it's giving "don't lose the default, babe" energy. 🫢

new

yep. it's the constructor. she exists. 🧚

containerize

also here. also a method. also vibing. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

  • HTML::Widget::Element β€” the parent-figure situation, iykyk

πŸ’œ AUTHOR πŸ’œ

Sebastian Riedel, "sri@oook.de" β€” shoutout to the legend, we love a credited author fr fr.


πŸ“œ LICENSE πŸ“œ

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. so go forth, remix responsibly, and keep the license intact. periodt. πŸ’–


also like, quick vibe check: the original page came from the User Contributed Perl Documentation, this doc was generated with perl v5.36.0, and the date on it is 2023-08-10. πŸ’«

okay ily bye bestie, go check some boxes πŸŒΈπŸŽ€βœ¨

πŸ“¦ where this page comes from