Overview
Form Repeater creates an interface to add and remove a repeatable group of input elements. For more info see the official
Github repository.
Usage
Form Repeater's script bundles are separate from our global bundle and required to be included and initialized manually on related pages.
<script src="assets/plugins/custom/formrepeater/formrepeater.bundle.js"></script>
Initialization
- Form Repeater's CSS and Javascript is required to be added into the page via the
usage codesnippet above, along with our other global bundles.
- Add an
id
HTML attribute to wrap the element wrapper that consists of repeated inputs. Then add
data-repeater-item
to define the repeated items.
- Please refer to the
official documentationfor all options available.