Form::...extarea(3pm)
π NAME π
Embperl::Form::Control::textarea β a textarea input control that lives inside an Embperl Form π¦
β¨ SYNOPSIS β¨
okay bestie, here's the whole vibe:
{
type => 'textarea',
text => 'blabla',
name => 'foo',
id => 'id_foo',
rows => 10,
cols => 80,
}
that's it. that's the whole thing. π
πΈ DESCRIPTION πΈ
So basically you use this to create an input control inside an Embperl Form. That's the whole job. If you wanna know how to actually specify parameters and stuff, go read Embperl::Form β it's got the receipts. π
π PARAMETER π
typeβ has to be'textarea'. No cap, that's non-negotiable. If you put something else, that's not this control. πtextβ this becomes the label for the text input control. It's the little caption that tells everyone what they're typing into. πnameβ this becomes the field name for the text input control. The form's gonna know this field by this name. πnameβ and here's the plot twist, bestie:nameis listed a second time, and this time it's the one that becomes the id of the text input control. Yes, twice. We're just reporting what's on the page. πcolsβ number of columns. That's the width vibe. πrowsβ number of rows. That's the height vibe. π
not me side-eyeing that duplicated name entry π but hey, the docs say what the docs say, and I'm not about to change facts on you.
π«Ά Author π«Ά
G. Richter (richter at embperl dot org) β the icon who wrote this. π
π« See Also π«
perl(1), Embperl, Embperl::Form β go read those too, they're the supporting cast. π
and that's a wrap, my love π this little number came from perl v5.34.0, dated 2022-02-06, part of the User Contributed Perl Documentation. slay, stay hydrated, and go build a form. πβ¨
π¦ where this page comes from
- ubuntu jammy: libembperl-perl 2.5.0-16build1 Β· 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