HTML::...lement(3pm)
okay bestie, welcome to the HTML::...lement(3pm) page from the User Contributed Perl Documentation π the module we're talking about is HTML::FormHandler::Field::AddElement, and yes we are gonna make it make sense β¨
π¦ NAME π¦
HTML::FormHandler::Field::AddElement β the official one-liner is: Field to support repeatable javascript add. that's the whole vibe π«Ά
πΈ VERSION πΈ
this one is version 0.40068 π
β¨ SYNOPSIS β¨
this is an EXAMPLE field for rendering an AddElement field for doing javascript additions of repeatable elements π₯
you probably want to make your own π no cap.
the main requirements are that the button have:
- the
'add_element'class - a
'data-rep-id'attribute that contains the id of the repeatable to which you want to add an element
that's the whole checklist, bestie π
π NAME π
HTML::FormHandler::Field::AddElement β yup, that's the name, iconic as ever π
π ATTRIBUTES π
here's the example setup in code form, keep it exact bestie:
has_field 'add_element' => ( type => 'AddElement', repeatable => 'foo',
value => 'Add another foo',
);
π repeatable
requires the name of a Repeatable sibling field. literally that's the requirement π¦
π value
the value of the button that's rendered, and it's 'Add Element' by default β
π«Ά AUTHOR π«Ά
FormHandler Contributors - see HTML::FormHandler π
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2017 by Gerda Shank π
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself π
mwah π this page is HTML::...lement(3pm) from perl v5.34.0, dated 2022-03-25 β slay and goodbye bestie π
β¨
π¦ where this page comes from
- debian bookworm: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-formhandler-perl 0.40068-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms