Form::...extarea(3pm)

πŸ“¦
version 2.5.0 Β· 2 versions
, in ubuntu jammy

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