How To Create Custom Form Template In WPForms

In this tutorial, you will learn how to create a custom form template in WP Forms. Custom form templates can save you time and effort by allowing you to reuse a pre-designed form layout. Let’s go through the steps.

You can also watch the video tutorial:

Having said that, let’s move on to the steps on How To Create a Custom Form Template In WPForms.

Step 1: Create a Form

  1. Hover over WP Forms and click on “Add New” to create a new form.
  2. Give your form a unique name and select the template of your choice. You can also select a blank template if you want to start from scratch.
  3. Add the fields you want to include in your custom form template. For example, drag and drop the checkboxes field into the form builder area. Customize the field options, such as renaming the label, as per your requirements.
  4. Once you have added the fields and made the necessary changes, click on the “Save” button to save the form.
Create new form using wp forms

Step 2: Export the Form Code

  1. Click on “Tools” under WP Forms in the sidebar.
  2. From the available tabs, click on “Export”.
  3. In the export tab, you will see an option to export the form template. Select the form you want to use as a custom form template.
  4. Click on the “Export Template” button.
  5. The form code will be generated. Copy the code, as it will be used in the next step.
Form template export

Step 3: Paste the Code in Theme Functions.php File

  1. Hover over “Appearance” and click on “Theme Editor”.
  2. On the right side, click on “functions.php” under the respective theme you are using.
  3. Scroll down to the end of the code.
  4. Enter a comment to identify the WP Forms add-on, for example, “// WP Forms Add-on”.
  5. Paste the copied code below the comment.
  6. Click on the “Update File” button to save the changes.
Theme Editor

Step 4: Use the Custom Form Template

  1. Hover over WP Forms and click on “All Forms”.
  2. If you have any existing forms, you can delete them.
  3. Add a new form by clicking on “Add New”.
  4. Under the “Template Library” category, you will find a section called “Custom Templates”.
  5. Click on it, and you will see your custom form template listed there.
  6. Click on the “Use Template” button to use this custom form template.
Custom form template

By following these steps, you can easily create a custom form template in WP Forms. This allows you to create a predefined form layout that can be used multiple times, saving you time and effort when creating forms in the future.

That’s it! Now you know how to create and use custom form templates in WP Forms. Enjoy the flexibility and convenience of reusing your custom-designed form layouts.


Submit a Comment

Your email address will not be published. Required fields are marked *

Need Professional Help?

We can help you with website fixes and ongoing maintenance.