Form::...utjoin(3pm)

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

πŸ’– NAME πŸ’–

Embperl::Form::Control::inputjoin β€” literally a whole lil squad of text input controls hanging out inside an Embperl Form, and their contents get joined together. bestie, it's giving "one field but make it four" ✨


πŸŽ€ SYNOPSIS πŸŽ€

  {
  type      => 'input',
  text      => 'blabla',
  name      => 'foo',
  size      => 10,
  maxlength => 50,
  numinputs => 4
  }

🌸 DESCRIPTION 🌸

okay so this control makes a bunch of input boxes inside an Embperl Form, and whatever you type in them gets joined into one value. the way that works is lowkey iconic ngl.

if you wanna know how to actually pass parameters in general, go read Embperl::Form β€” it's the main character here and this page is just its little sister πŸ’…

✨ PARAMETER ✨

  • type β€” has to be 'input'. no negotiating, that's the vibe check it must pass πŸ™ˆ
  • name β€” this is the name of the control. like, its whole identity ✨
  • text β€” gets used as the label for the text input control. the lil caption above the box πŸŽ€
  • size β€” how big the thing is, in characters. the visual size, the slay size πŸ’…
  • maxlength β€” the maximum possible input length, in characters. go over this and it's a no from the universe πŸ’€
  • class β€” alternative CSS class name, in case you wanna dress it up differently πŸ‘‘
  • numinputs β€” how many input boxes there are. the more the merrier fr fr 🌈
  • join β€” the string used to join the input fields together. glue, but make it string 🫢
  • split β€” the regex used to split the data back into the input fields. default is /join/ ⭐
  • separator β€” the string to display between the input boxes. decorative lil bridge between besties 🌸

πŸ’œ Author πŸ’œ

G. Richter (richter at embperl dot org) β€” absolute legend, we stan πŸ˜­πŸ’–


πŸ¦‹ See Also πŸ¦‹

perl(1), Embperl, Embperl::Form


ngl this whole page came straight from perl v5.34.0, dated 2022-02-06, and it's filed under Form::...utjoin(3pm) πŸŽ€ that's a wrap, bestie β€” go build some joined inputs and eat, no crumbs left πŸ“βœ¨
πŸ“¦ where this page comes from