WordPress plugin

Conditional Fields Pro

Conditional Fields Pro includes advanced capabilities to Contact Form 7 forms whose questions change based on user input. Use conditional groups to show relevant fields as the form path changes, then add Pro capabilities for processes that need repeatable entries, multiple steps, calculations or uploads.

Conditional Fields Pro

Conditional Fields Pro includes advanced capabilities to Contact Form 7 forms whose questions change based on user input. Use conditional groups to show relevant fields as the form path changes, then add Pro capabilities for processes that need repeatable entries, multiple steps, calculations or uploads.

Prepare the form groups

Install Contact Form 7 and the Conditional Fields components. In the form editor, add a “Conditional fields Group” tag and place the fields it controls between the group’s start and end tags. Groups are hidden by default. Open the “Conditional fields” tab and make conditions that reveal each group when they match. Groups can be nested. Required fields inside hidden groups do not trigger validation errors, and advanced users can enter conditions as plain text in Text View instead of using the select boxes.

Choose the Pro tools

  • Repeatable fields: Let users provide multiple entries of the same general type.
  • Multistep forms: Divide a longer form into separate steps.
  • Calculated fields: Derive values from submitted form information.
  • JavaScript conditions: Use JavaScript functions for advanced conditional behavior.
  • Multiple file uploads: Accommodate multiple uploaded files in a form process.

Match email content to group visibility

Wrap email content in group tags to include it when the corresponding form group is visible: [group-name] ... [/group-name]. To show content only when that group is hidden, use the inverted form: [!group-name] ... [/!group-name]. Groups can also be nested in email content.

Check names and page behavior

Conditional groups conceal fields without removing them. Every field is submitted with the form, so assign a unique name to each one, including fields in groups that are never visible at the same time. Reused names can lead to incorrect or unexpected submitted values.

If groups stay visible or fail to respond, check the browser console for JavaScript errors. The conditional scripts load at the bottom of the page, so an earlier error can prevent them from running. Confirm that the theme calls wp_footer(), where the conditional code is loaded. If the issue persists, gradually disable extensions and change the theme to help locate a conflict.

WordPress Repository Limit Login Attempts Security Premium Link Checker Pro Link Whisper Premium LIQUID BLOCKS Pro Live Composer Premium Live Copy Paste Pro Live News Pro Live Twitter Tweets Pro LiveChat Business Load More Anything Pro