[WordPress] 外掛分享: Conditional Fields for Contact Form 7

WordPress 外掛 Conditional Fields for Contact Form 7 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Conditional Fields for Contact Form 7」是 2016-05-31 上架。
  • 目前有 100000 個安裝啟用數。
  • 上一次更新是 2025-04-10,距離現在已有 23 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 有 164 人給過評分。
  • 論壇上目前有 12 個提問,問題解答率 75% ,不低,算是個很有心解決問題的開發者團隊了!

外掛協作開發者

jules-colle |

外掛標籤

form | forms | contact form 7 | conditional logic | conditional fields |

內容簡介

此外掛可以讓您的 Contact Form 7 表單加入條件式邏輯。

當您編輯您的 CF7 表單時,您會看到一個額外的標籤,名為「條件式欄位群組」。您放置在起始標籤和結束標籤之間的所有內容都將預設隱藏。
放置所有欄位群組後,您可以前往「條件式欄位」分頁,建立一個或多個條件,以使相應的群組出現。

如何使用

請參考此教學

主要特點
支援必填欄位

隱藏組中的必填欄位將不會觸發驗證錯誤。

根據可見群組隱藏/顯示郵件中的資訊

條件性群組現在也可以添加到郵件中。
只需使用[群組名稱] ... [/群組名稱]標籤即可包裝內容。

群組可以巢狀設定

群組可以巢狀設置,無論在表單和郵件中都是如此。

表單範例:

[group group-1]
[group group-inside-1]
...
[/group]
[/group]

郵件範例:

[group-1]
[group-inside-1]
...
[/group-inside-1]
[/group-1]

進階

高級使用者可以在純粹的文字視圖中,以純文本方式編寫條件,而不是使用選擇框,在「文字檢視」中處理。

需要更強大的功能嗎?

就像 WordPress 一樣,Contact Form 7 的威力在於其豐富的擴充功能生態系統。然而,要找到一套能夠很好地一起運作的複雜擴充功能套件卻很困難。

這就是為什麼我創建了條件性欄位 Pro。它為 Contact Form 7 添加了一些強大的功能,並保證一切都能順利地運行。

專業版功能包括:

可重複使用的欄位(repeaters)
有多步驟的表單(multistep)
使用 JavaScript 函數進行自訂條件
其他運算子(大於、小於、...)

立即取得條件性欄位 Pro 版本,獲得更多功能!

原文外掛簡介

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.
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)
Custom conditions with JavaScript functions
Multiple file upload

Get the PRO version of Conditional Fields for Contact Form 7!

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Conditional Fields for Contact Form 7」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1 | 0.2 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.7 | 1.8 | 1.9 | 2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 0.1.1 | 0.1.2 | 0.1.3 | 0.1.4 | 0.1.5 | 0.1.6 | 0.1.7 | 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