Electric Enquiries
开发者 |
electriccode
|
更新时间 |
2022年8月15日 23:58 |
捐献地址: |
去捐款 |
PHP版本: |
3.0.1 及以上 |
WordPress版本: |
6.0 |
版权: |
GPLv2 or later |
版权网址: |
版权信息
|
详情介绍:
Electric Enquiries turns any web form into flexible enquiry form, enabling you to have multiple enquiry forms throughout your website. 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. It supports all standard form elements, including file uploads.
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.
Then, instead of wrapping your form elements in a form tag, simply wrap them in the Electric Enquiries shortcode instead:
[electric-enquiry from="website@electriccode.co.uk" to="hello@electriccode.co.uk" button="Send Enquiry" message="Thank YouWe will get back to you shortly." subject="Website Enquiry"]
Your form elements here
[/electric-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.
Setting the 'subject' attribute will override the default email subject with the one specified.
Setting the 'button' attribute will override the default button text ('Send Enquiry') with whatever you prefer.
You can add a Google Recaptcha (v2) to the form by setting the recaptcha-key and recaptcha-secret attributes with the supplied values from Google.
更新日志:
1.1
- Added support for Google Recaptcha
1.0