1HTML::FormHandler::FielUds:e:rRmCEolnetmreinbtu(t3e)d PeHrTlMLD:o:cFuomremnHtaantdiloenr::Field::RmElement(3)
2
3
4

NAME

6       HTML::FormHandler::Field::RmElement - field to support repeatable
7       javascript remove
8

VERSION

10       version 0.40068
11

SYNOPSIS

13       EXAMPLE field for rendering an RmElement field for doing javascript
14       removals of repeatable elements.
15
16       You probably want to make your own.
17
18       The main requirements are that the button have 1) the 'rm_element'
19       class, 2) a 'data-rep-elem-id' attribute that contains the id of the
20       repeatable instance that you want to remove ("$self->parent->id").
21
22       This field should be a subfield of the Repeatable, probably either
23       first or last.
24

NAME

26       HTML::FormHandler::Field::RmElement
27

ATTRIBUTES

29           has_field 'rm_element' => ( type => 'RmElement',
30               value => 'Remove',
31           );
32

AUTHOR

34       FormHandler Contributors - see HTML::FormHandler
35
37       This software is copyright (c) 2017 by Gerda Shank.
38
39       This is free software; you can redistribute it and/or modify it under
40       the same terms as the Perl 5 programming language system itself.
41
42
43
44perl v5.32.1                      2021-01H-T2M7L::FormHandler::Field::RmElement(3)
Impressum