[wordpress插件] Bamboo Enquiries竹查询

wordpress 插件 文章 2020-02-28 21:20 527 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Bamboo Enquiries turns any web form into flexible enquiry form, enabling you to have multiple enquiry forms throughout your website.

Bamboo查询可以将任何Web表单转换为灵活的查询表单,使您可以在整个网站上拥有多个查询表单。

By just wrapping a simple shortcode around the HTML elements of your choice, you can have a professional, simple or complicated email enquiry form up and running in minutes.

通过将简单的简码包装在您选择的HTML元素周围,您可以在几分钟内建立并运行专业,简单或复杂的电子邮件查询表单。

It supports all standard form elements, including file uploads.

它支持所有标准表单元素,包括文件上传。

It also provides an ‘auto labels’ option which presents the labels for each input box inside the input as the default value until it is clicked on (the Twitter sign in page is a good example of this in action).

它还提供了一个“自动标签”选项,该选项将输入中每个输入框的标签显示为默认值,直到单击它为止(Twitter登录页面就是一个很好的例子)。

Finally the shortcode also supports mandatory text boxes, the form will not be submitted if any mandatory boxes have not be filled in. Simply adding as asterisk (*) to the end of a label will indicate that the following input is mandatory, e.g.

最后,简码还支持强制性文本框,如果未填写任何强制性框,则不会提交表单。只需在标签末尾添加星号(*),即可表示以下输入是强制性的,例如:

:

 

  

Usage

用法

Code your form elements as you normally would, with whichever inputs, radio buttons, selects etc that you need, ensuring that you set the name attribute for each element.

按照通常的方式对表单元素进行编码,无论您使用哪种输入,单选按钮,选择内容等等,以确保为每个元素设置name属性。

Add at least one submit button e.g:

添加至少一个提交按钮,例如:

 

  

Finally, instead of wrapping your form elements in a form tag, simply wrap them in the Bamboo Enquiries shortcode instead:

最后,不要将表单元素包装在表单标签中,只需将它们包装在Bamboo Inquiries短代码中即可:

 [bamboo-enquiry from=“website@bamboosolutions.co.uk” to=“enquiries@bamboosolutions.co.uk” auto_labels="on" honeypot="on" message="Thank You

  [bamboo-enquiry从=“ website@bamboosolutions.co.uk”到=“ enquiries@bamboosolutions.co.uk” auto_labels =“ on” honeypot =“ on” message =“谢谢您

>We will get back to you shortly."]      

>我们会尽快与您联系。“]      

Your form elements here (don’t forget the submit button) 

您的表单元素在这里(请不要忘记提交按钮) 

[/bamboo-enquiry]

[/竹查询]

The ‘from’ attribute sets the email address that the enquiry will be sent from, and the ‘to’ attribute sets the address it will be sent to.

“发件人”属性设置了查询将发送到的电子邮件地址,“发件人”属性设置了将查询发送到的电子邮件地址。

The ‘auto_labels’ attribute actives the auto labels feature as described above.

如上所述,“ auto_labels”属性激活了自动标签功能。

If you set ‘honeypot’ to ‘on’, a hidden email field will be added to the form to catch scripts that try to submit the form for spam purposes.

如果您将“ honeypot”设置为“ on”,则会在表单中添加一个隐藏的电子邮件字段,以捕获试图为垃圾邮件提交表单的脚本。

NOTE: If you have ‘honeypot’ set to ‘on’ you CANNOT have an input field in your form with the name ’email’.

注意:如果您将“蜜罐”设置为“开”,则您的表单中将没有名称为“电子邮件”的输入字段。

下载地址
https://downloads.wordpress.org/plugin/bamboo-enquiries.1.9.4.zip
-EOF-

AI助手支持GPT4.0