Conditional If/Then/Else 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〉的開發相關工作。

參與者

〈Conditional If/Then/Else Smart Tags for WPForms〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Conditional If/Then/Else Smart Tags for WPForms〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.1

  • Release date: January 24, 2025
  • Minor changes

1.0.0

  • Release date: January 21, 2025
  • Initial release