Title: Conditional If/Then/Else Smart Tags for WPForms
Author: maximum.software
Published: <strong>2025 年 1 月 25 日</strong>
Last modified: 2025 年 1 月 25 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/conditional-smart-tags-for-wpforms/assets/icon.svg?rev=3228288)

# Conditional If/Then/Else Smart Tags for WPForms

 由 [maximum.software](https://profiles.wordpress.org/maximumsoftware/) 開發

[下載](https://downloads.wordpress.org/plugin/conditional-smart-tags-for-wpforms.1.0.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/conditional-smart-tags-for-wpforms/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/conditional-smart-tags-for-wpforms/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/conditional-smart-tags-for-wpforms/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/conditional-smart-tags-for-wpforms/#developers)

 [技術支援](https://wordpress.org/support/plugin/conditional-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 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}
    ```

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/conditional-smart-tags-for-
    wpforms` directory, or install the plugin through the WordPress plugins screen 
    directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the new if/then/else smart tags in your WPForms notifications and confirmations

## 常見問題集

### 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.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Conditional If/Then/Else Smart Tags for WPForms〉的開發相關
工作。

參與者

 *   [ maximum.software ](https://profiles.wordpress.org/maximumsoftware/)

〈Conditional If/Then/Else Smart Tags for WPForms〉外掛目前已有 1 個本地化語言版本。
感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/conditional-smart-tags-for-wpforms/contributors)
為這個外掛做出的貢獻。

[將〈Conditional If/Then/Else Smart Tags for WPForms〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/conditional-smart-tags-for-wpforms)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/conditional-smart-tags-for-wpforms/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/conditional-smart-tags-for-wpforms/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/conditional-smart-tags-for-wpforms/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/conditional-smart-tags-for-wpforms/)。

## 變更記錄

#### 1.0.1

 * Release date: January 24, 2025
 * Minor changes

#### 1.0.0

 * Release date: January 21, 2025
 * Initial release

## 中繼資料

 *  版本 **1.0.1**
 *  最後更新 **1 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.5**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/conditional-smart-tags-for-wpforms/)
   及 [Russian](https://ru.wordpress.org/plugins/conditional-smart-tags-for-wpforms/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/conditional-smart-tags-for-wpforms)
 * 標籤:
 * [conditional fields](https://tw.wordpress.org/plugins/tags/conditional-fields/)
   [conditional logic](https://tw.wordpress.org/plugins/tags/conditional-logic/)
   [forms](https://tw.wordpress.org/plugins/tags/forms/)[WPForms](https://tw.wordpress.org/plugins/tags/wpforms/)
 *  [進階檢視](https://tw.wordpress.org/plugins/conditional-smart-tags-for-wpforms/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/conditional-smart-tags-for-wpforms/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/conditional-smart-tags-for-wpforms/reviews/)

## 參與者

 *   [ maximum.software ](https://profiles.wordpress.org/maximumsoftware/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/conditional-smart-tags-for-wpforms/)