Save Form Submissions

HTML Forms can store all of your form submissions in your database. You can then view these Submissions from inside the WordPress admin whenever you want. This option is enabled by default.

Open up your form, go to the Settings tab and toggle the setting shown below to Yes.

You can set HTML Forms to save submission data to your database.

Save your form. Now, whenever a user submits that form, the submission data will be saved. You can view that data from the Submissions tab.

Redirect to URL After Successful Sign-Ups

You can configure HTML Forms to redirect to a certain page on your website after each successful form submission. An example use case would be to send visitors to a “Thank You” page after they submit your form.

To set this up, open up your form, navigate to the Settings tab and locate the setting for a redirect:

Redirect to URL feature found in the HTML Forms WordPress plugin.

Make sure to use complete (absolute) URL’s and to redirect to a page that describes that the form was processed successfully. You don’t want to confuse your visitors with a random redirect.

Template Variables

HTML Forms provides several template variables you can use in your form content. These form variables will be dynamically replaced when the form is shown. Currently, you can use the following variables.

user

Will be replaced with the specified property of the currently logged-in user.

{{ user.user_email }}

url_params

This will be replaced with a parameter from the page URL, or with an empty string if the specified URL parameter does not exist.

{{url_params.utm_source}}

post

This will be substituted with the specified property of the post that is viewed on the page the form is displayed on.

{{post.ID}}

Hide Form After a Successful Sign-Up

Hiding a form after it was successfully submitted is easy with HTML Forms.

Open up your form, navigate to the Settings tab and toggle the setting shown below to Yes.

Hide form feature found in the HTML Forms WordPress plugin.

This will hide your form fields after the form is submitted without errors. The success message you enter will still show, regardless of the setting.