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

Contact Form 7 – Datalist

描述

This control works in a similar way to the existing drop-down menu, but rather than a fixed list of options that the user must select from it is presented to the user as a textbox.
Once the user begins typing a list of possible options will be shown, selecting one will fill in the rest of the field with the selected option, if the desired option is not present in the list then the user can type in their own option.

螢幕截圖

  • User has typed in 'dun' and matches are shown.

安裝

  1. Ensure Contact Form 7 is installed and activated.
  2. Install the plugin through the WordPress plugins screen or upload the plugin files to the /wp-content/plugins/cf7-datalist directory.
  3. Activate the plugin through the ‘Plugins’ screen in WordPress.

常見問題

How do I use this?

When editing a Contact Form 7 form you should now be able to add a datalist tag.

Which browsers support this?

According to MDN https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist this is supported by Chrome 20+ (33+ on mobile), Edge, Firefox 4+, IE10+ and Opera 9.5+ but not Safari.

評價

2019年4月1日
Literally. This plugin deserves more reviews and downloads. I love these when I fill out forms. So glad you made this. I was going to jQuery a datalist input into a cf7 input to get this to work, but you are awesome and thank you.
閱讀全部2個評價

貢獻者及開發者

“Contact Form 7 – Datalist” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Contact Form 7 – Datalist 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.2

  • Tested for WordPress 5.0.

1.1

  • Fixed Contact Form 7 depreciation errors.

1.0

  • Initial release.