Browse all docs

Fields

Hidden Field

The Hidden Field addon by Formrio allows you to include hidden fields in your WPForms forms to store or pass information without displaying the field to visitors. It is useful for collecting additional data, passing predefined values, and keeping certain information associated with a form submission without requiring users to enter it manually. By adding a Hidden Field, you can make your forms more flexible while keeping the visible form interface simple and user-friendly.

Simply enable the addon, insert the Hidden Field into your form, and configure its settings according to your requirements. Once your form is ready, you can embed it into any WordPress page or post using a shortcode.

Things You Need Before

Before getting started, make sure you have the following plugins installed and activated on your WordPress website:

Step 1: Enable Hidden Field

First, enable the Hidden Field addon to make it available inside the WPForms form builder.

  1. Navigate to WPForms → Formrio Addons → Addons.
  2. Search for Hidden Field.
  3. Enable the Hidden Field addon.

Once enabled, the Hidden Field will be available in the WPForms form builder.

Step 2: Insert Hidden Field

After enabling the addon, add the Hidden Field to a new or existing form.

  1. Create a new form or open an existing form you want to customize.
  2. Navigate to the Fields tab.
  3. Find the Hidden Field provided by Formrio.
  4. Drag and drop the field into your form as needed.
  5. Customize the available field settings according to your requirements.
  6. Click Save to save your changes.

Because the field is hidden from visitors, they will not see it when filling out the form. Make sure you configure the field correctly for the information you want to collect or pass with the submission.

Step 3: Embed Inside Any Page or Post

Once you have configured and saved your form, you can display it on any WordPress page or post using its shortcode.

  1. Open your form in the WPForms builder.
  2. Click the Embed button.
  3. Select the Shortcode option.
  4. Copy the displayed shortcode.
  5. Open the WordPress page or post where you want to display the form.
  6. Paste the shortcode into the page or post content.
  7. Publish or update the page or post.

That’s it! Your form with the Hidden Field is now embedded on your chosen page or post and ready for visitors to use.