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.
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.
Add at least one submit button e.g:
<button type="submit">Send Enquiry"</button>
Finally, instead of wrapping your form elements in a form tag, simply wrap them in the Electric Enquiries shortcode instead:
[electric-enquiry from="email@example.com" to="firstname.lastname@example.org" honeypot="on" message="Thank You<br/>We will get back to you shortly." subject="Website Enquiry"] Your form elements here (don’t forget the submit button) [/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.
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.
NOTE: If you have ‘honeypot’ set to ‘on’ you CANNOT have an input field in your form with the name ‘email’.
Er zijn geen beoordelingen voor deze plugin.
Bijdragers & ontwikkelaars
“Electric Enquiries” is open source software. De volgende personen hebben bijgedragen aan deze plugin.Bijdragers
- Added support for Google Recaptcha
- Initial release