Conditional If/Then/Else Smart Tags for WPForms
Conditional If/Then/Else Smart Tags for WPForms enhances your form by adding conditional logic capabilities through smart tags. This plugin allows you to display different content based on form field values. Features Add if/then/else conditions where smart tags can be used Compare field values using
About this tool.
Conditional If/Then/Else Smart Tags for WPForms enhances your form by adding conditional logic capabilities through smart tags. This plugin allows you to display different content based on form field values.
Features
- Add if/then/else conditions where smart tags can be used
- Compare field values using exact match conditions
Example Usage
Use this syntax in your WPForms notifications or confirmations:
{if field_id="3" value="TestValue"} This message is shown ONLY if field #3 exactly matches "TestValue". {else} This message is shown otherwise. {/if}
Getting started.
- 01Upload the plugin files to the /wp-content/plugins/conditional-smart-tags-for-wpforms directory, or install the plugin through the WordPress plugins screen directly.
- 02Activate the plugin through the ‘Plugins’ screen in WordPress
- 03Use the new if/then/else smart tags in your WPForms notifications and confirmations
Frequently asked questions.
How do I find a field’s ID?
The field ID can be found in the WPForms form builder. When editing a field, look for the “Field ID” in the field options panel on the left.
Can I use multiple conditions?
Yes, you can use multiple if/then/else blocks. Just make sure to properly close each if block with {/if}.
Can I nest if/then/else blocks and other smart tags?
Yes, you can use nested if/then/else blocks and other smart tags.