Use these attributes when you want to duplicate an entire section of a form that includes multiple inputs.
For instance, you can use them to "Add another family member" or "Add another address."
A "wrapper element" is a Div block that holds the form section you want to duplicate when a user clicks a button. The copied section is appended to this Div block.
The value assigned to the "name" can be chosen freely, but it's crucial to maintain consistency. This "name" value serves as an identifier, grouping together related attributes, and distinguishing clone instances within the form.
This section of the form contains the content you want to duplicate. All input elements within this Div Block will be copied, and each input's name will have an index value added to the end.
For instance, "name-1" and "email-1" are examples of how the input names will appear after cloning.
Add this attribute to the button that will trigger the duplication of the section.
To allow users to remove the cloned form section, add this attribute to a Button, Div Block or Link Block.
If you want to display the user's input data, add this attribute to a Div Block that will be the wrapper for all the cloned data. The cloned summary block will be appended into this Div.
If you want to display the user's input data, add this attribute to the Div Block along with the attributes from the Get User Input feature.
Check out the cloneable to see how this is done.
This attribute automatically assigns the appropriate index value to any headings or text you wish to include. For example, it can be used to display "Address 1," "Address 2," or "Team Member 1," "Team Member 2," and so on.
This attribute automatically assigns the appropriate index value to any headings or text you wish to include.
This attribute automatically assigns the appropriate index value to any headings or text you wish to include.
Clone this example to quickly start building.
If you wish to duplicate a single input field in a form, follow the following attributes.
Example: "Add another email" or "Add another name.
A "wrapper element" is a Div block that holds the input and label you want to duplicate when a user clicks a button. The duplicated inputs are appended to this Div block.
The value assigned to the "name" attribute can be chosen freely, but it's crucial to maintain consistency. This "name" value serves as an identifier, grouping together related attributes, and distinguishing clone instances within the form.
This Div Block should contain the input and label you want to duplicate. All input elements within this Div Block will be copied, and each input's name will have an index value added to the end.
For instance, "name-1" and "email-1" are examples of how the input names will appear after cloning.
Add this attribute to the button that will trigger the duplication of the input.
To allow users to remove the cloned form section, add this attribute to a Button, Div Block or Link Block.
If you want to display the user's input data, add this attribute to a Div Block that will be the wrapper for all the cloned input. The cloned summary block will be appended into this Div.
If you want to display the user's input data, add this attribute to the Div Block along with the attributes from the Get User Input feature.
Check out the cloneable to see how this is done.
Clone this example to quickly start building.