HTML::...tfield(3pm)

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

πŸ’– 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