
內容簡介
此外掛為 Contact Form 7 增加條件邏輯功能,讓使用者可以根據特定條件顯示或隱藏表單欄位,提升表單的互動性與靈活性。
【主要功能】
• 支援必填欄位
• 根據可見的群組隱藏/顯示電子郵件內容
• 群組可以嵌套使用
• 進階用戶可使用純文字編碼條件
• 提供重複欄位與多步驟表單功能
外掛標籤
開發者團隊
② 後台搜尋「Conditional Fields for Contact Form 7」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
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), go to the “Conditional fields” tab to create one or more conditions that will make the group(s) appear.
Conditional Fields for Contact Form 7 is an independent plugin. This plugin is not affiliated with or endorsed by the developers of Contact Form 7.
How to use it
Follow this tutorial
Main features
Support for required fields
Required fields inside hidden groups will never trigger validation errors.
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.
To show content only when a group is hidden, invert the tag with an exclamation mark: [!group-name] ... [/!group-name].
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 Text View.
Need more power?
Just like WordPress, the power of Contact Form 7 lies in its rich eco-system of extensions that build on top of it. However, it can be difficult to find a set of complex extensions that work well together.
That’s why I created Conditional Fields Pro. It adds some powerful features to Contact form 7 and guarantees that everything will run smoothly with Conditional Fields.
Pro features include:
Repeatable fields (repeaters)
Forms with multiple steps (multistep)
Calculated fields
Advanced conditions with JavaScript functions
Multiple file upload
Get the PRO version of Conditional Fields for Contact Form 7!
