Form::...:submit(3pm)

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

✨ NAME ✨

Embperl::Form::Control::submit β€” bestie, it's literally a submit button that lives inside an Embperl Form πŸ’… (this is the 3pm perl manual page, iykyk)


🌸 SYNOPSIS 🌸

{
type => 'submit',
text => 'send',
name => 'foo',
value => 'xxx',
image => 'xxx',
}

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this is the thing you use to make a submit control inside an Embperl Form. And if you hand it an image?? It makes an image button instead. Iconic behaviour, no cap. πŸŽ€

If you wanna know how to actually specify parameters, go read Embperl::Form β€” that's the main character here, this page is just its little sister. πŸ’–

πŸ’œ PARAMETER πŸ’œ

  • type β€” needs to be 'submit'. Like, that's the whole vibe. Nothing else. Periodt. πŸ™ˆ
  • name β€” the name of the button, obviously. Gotta have a name, bestie. 🫢
  • text β€” this is what shows up as the label on your submit button. OR, if you're doing an image button, it becomes the tool tip instead. Two jobs, one parameter, she's versatile. ✨
  • value β€” gives the value to send. That's it, that's the whole thing. πŸ’Œ
  • image β€” the URL of an image. If you give it one, boom, you get an image button. If you don't? You get a normal, regular, humble submit button. Choices, choices. 🌈

πŸ‘‘ Author πŸ‘‘

G. Richter (richter at embperl dot org) β€” the icon who wrote this πŸ’…


🌟 See Also 🌟

perl(1), Embperl, Embperl::Form


okay and that's a wrap!! this beauty is from perl v5.34.0, dated 2022-02-06 β€” go forth and submit, bestie, you're gonna slay πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from