Bamboo 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. 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). 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. :
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:
Finally, instead of wrapping your form elements in a form tag, simply wrap them in the Bamboo Enquiries shortcode instead:
[bamboo-enquiry [email protected] [email protected] auto_labels="on" honeypot="on" message="Thank You
We will get back to you shortly."] Your form elements here (dont 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. 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.