FreeBSD Manual Pages
HTML::FormHandler::FieUserAContributed)HTML::FormHandler::Field::AddElement(3) NAME HTML::FormHandler::Field::AddElement - Field to support repeatable javascript add VERSION version 0.40068 SYNOPSIS EXAMPLE field for rendering an AddElement field for doing javascript additions of repeatable elements. You probably want to make your own. The main requirements are that the button have 1) the 'add_element' class, 2) a 'data-rep-id' attribute that contains the id of the repeatable to which you want to add an element. NAME HTML::FormHandler::Field::AddElement ATTRIBUTES has_field 'add_element' => ( type => 'AddElement', repeatable => 'foo', value => 'Add another foo', ); repeatable Requires the name of a Repeatable sibling field. value The value of the button that's rendered, '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. perl v5.32.0 2017-HTML::FormHandler::Field::AddElement(3)
NAME | VERSION | SYNOPSIS | NAME | ATTRIBUTES | AUTHOR | COPYRIGHT AND LICENSE
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=HTML::FormHandler::Field::AddElement&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>