HTML::FormHandler::Field::RmElement(3pm)

HTML::FormHandler::Field::RmElement3pm

Field to support repeatable javascript remove

Usage

EXAMPLE field for rendering an RmElement field for doing javascript removals of repeatable elements.

You probably want to make your own.

The main requirements are that the button have 1) the 'rm_element' class, 2) a 'data-rep-elem-id' attribute that contains the id of the repeatable instance that you want to remove ("$self->parent->id").

This field should be a subfield of the Repeatable, probably either first or last.

Version

version 0.40068

Attributes

    has_field 'rm_element' => ( type => 'RmElement',
        value => 'Remove',
    );

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9
  3. 10–11
  4. 12–13

Author

FormHandler Contributors - see HTML::FormHandler

From libhtml-formhandler-perl 0.40068-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.