The Dynamic Text Field addon by Formrio allows you to populate form fields with dynamic values instead of relying entirely on manual user input. It can help you display or pass predefined or dynamically generated text within your WPForms forms, depending on your configuration. This is useful when you want to make your forms more flexible, simplify data collection, or include relevant information automatically.
Simply enable the addon, add the Dynamic Text Field to your form, and configure its settings according to your needs. 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:
- WPForms Plugin
- Formrio Addons for WPForms Plugin (Free Version)
Step 1: Enable Dynamic Text Field
First, enable the Dynamic Text Field addon to make it available inside the WPForms form builder.
- Navigate to WPForms → Formrio Addons → Addons.
- Search for Dynamic Text.
- Enable the Dynamic Text Field addon.
Once enabled, the Dynamic Text Field will be available in the WPForms form builder.
Step 2: Insert Dynamic Text Field
After enabling the addon, add the Dynamic Text Field to a new or existing form.
- Create a new form or open an existing form you want to customize.
- Navigate to the Fields tab.
- Find the Dynamic Text field provided by Formrio.
- Drag and drop the field into your desired position in the form.
- Customize the field settings according to your requirements.
- Click Save to save your changes.
Your form is now configured with the Dynamic Text Field. Make sure to review its settings to ensure the field behaves as expected for your intended use.
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.
- Open your form in the WPForms builder.
- Click the Embed button.
- Select the Shortcode option.
- Copy the displayed shortcode.
- Open the WordPress page or post where you want to display the form.
- Paste the shortcode into the page or post content.
- Publish or update the page or post.
That’s it! Your form with the Dynamic Text Field is now embedded on your chosen page or post and ready for visitors to use.