该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.2

  • Tested for WordPress 5.0.

1.1

  • Fixed Contact Form 7 depreciation errors.

1.0

  • Initial release.