Comment on page
Form templates - Include elements into other forms - WordPress
If you require multiple forms that consist partially of the same elements, you can use the "Include Form" element to inject elements from another form. Reduces the editing time while building forms.
In short, this allows you to "inject" elements from an already existing form into another. It acts as a "template" system.
You should use the
Include Formlayout element whenever you have Fields or Elements that are the same for multiple forms.
This will help reduce editing time since you do not have to re-do (or edit) these across all your forms. It also means you don't have to copy/paste these across all your forms.
They are managed from one single location. Any edits made to the "Template form" will automatically be applied across all of the forms that included this form.
Include Formelement injects an already existing form's elements into another. You can find the
Include Formunder the Layout Elements section on the builder page as shown below:
Include an existing form into another (injecting) on WordPress website.
Create a new form called
Template XYZand simply build the form as you would normally. Add all the Layout and Form elements. For instance if you require all other forms to have an E-mail and Name field in a 1/2 layout, simply add the Columns and the fields. Once done, click the
Savebutton to save the form.
Now create your actual form(s) that you want to display on your website. Now add the "Include Form" element and set the form ID of your form template. It will now automatically load the elements from that form into your current form.
Form injected with the "Include form" element - WordPress
When you preview or view the form on your front-end you will now see the elements are added from your template form.