Form::...utjoin(3pm)
π 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 fromperl v5.34.0, dated2022-02-06, and it's filed underForm::...utjoin(3pm)π that's a wrap, bestie β go build some joined inputs and eat, no crumbs left πβ¨
π¦ 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