Contact Form 7 – Conditional Fields的作者是Jules Colle,目前有100,000+个有效安装。已经Tested with 5.4.1版本的wordpress。
Description
This plugin adds conditional logic to Contact Form 7.
If you edit your CF7 form, you will see an additional tag called “Conditional fields Group”. Everything you put between the start and end tag will be hidden by default.
After you have added the field group(s), click Save and go to the “Conditional fields” tab to create one or more conditions that will make the group(s) appear.
HOW TO USE IT
Follow this tutorial
MAIN/ NEW FEATURES
SUPPORT FOR REQUIRED FIELDS
Required fields can be used inside hidden groups without causing validation problems.
HIDE/SHOW INFO IN EMAILS BASED ON WHAT GROUPS ARE VISIBLE
Conditional groups can now be added to the emails as well.
Just wrap the content with [group-name] ... [/group-name] tags.
GROUPS CAN BE NESTED
Groups can be nested, both in the form and in the email
Example form:
[group group-1]
[group group-inside-1]
...
[/group]
[/group]
Example email:
[group-1]
[group-inside-1]
...
[/group-inside-1]
[/group-1]
ADVANCED
Advanced users can code up the conditions as plain text instead of using the select boxes, using the import/export feature.