HTML::...tfield(3pm)
π HTML::Widget::Element::Textfield π
okay bestie, so this is HTML::Widget::Element::Textfield from the User Contributed Perl Documentation β it's the Textfield Element and it's literally exactly what it sounds like π
β¨ SYNOPSIS β¨
my $e = $widget->element( 'Textfield', 'foo' );
$e->comment('(Required)');
$e->label('Foo');
$e->size(23);
$e->maxlength(42);
$e->value('bar');
no cap, that's the whole vibe check right there π¦ you grab a textfield off your widget, slap a comment on it, give it a label, set the size and maxlength, and give it a value. iconic behaviour, honestly. π
πΈ DESCRIPTION πΈ
Textfield Element. that's it. that's the description. short king energy but we respect it π
π METHODS π
retain_default
so if this one is true, it overrides the default behaviour β which means when a field is missing from the form submission, the xml output is gonna contain the default value instead of just being empty. β¨
lowkey a glow-up for your form data ngl π«Ά
containerize
(this one's just here, hanging out, doing its thing β the original page doesn't say more, so I'm not gonna make anything up, fr fr π)
π SEE ALSO π
HTML::Widget::Elementβ go read it bestie, it's the whole family π
π AUTHOR π
Sebastian Riedel, sri@oook.de β 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. periodt. π
and that's a wrap, bestie!! this page ships with perl v5.36.0 and was dated 2023-08-10 π tysm for reading, you ate that ππ β¨
π¦ where this page comes from
- debian trixie: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms