Collect contact information and/or feedback through a form, secured by reCAPTCHA—a simple Turing test that prevents spam. Many of the form fields can be optional or required, depending on setup. The form content is emailed with a custom subject line and from address, all set up in the web part’s properties.
SharePoint 2010 , Twitter Bootstrap v2+
- Customize Mail Settings
Set comma separated email addresses to mail form content to, a custom email Subject line, and a custom From email address.
- Form Fields and Requirement Status
Add any of the following: Company, Full Name, First Name, Middle Name, Last Name, Email, Address 1, Address 2, City, State (with dropdown), Zip, County, Country (with default), Phone, Subject Line, and Comments. Most fields can be marked as required, which will prevent the form from being submitted until the required fields are completed.
- Thank You Message
Add a custom thank you message to be shown after the user has submitted the form.
This web part has 3 main components. Set up the web part in the following order:
Enter a Recipient email address or comma-separated line of multiple email addresses
Enter a custom Subject Line for the email
- Appears as the Subject Line of the email sent. The subject field in the form will appear in the body of the email.
- Ex: Company Website Contact Form
Enter an email which will appear as the Sender
Field Display/Required Selection
This web part has 15 main components. To enable a field, check Display. To have the field be required, check Required.
Company, Full Name, First Name, Middle Name, Last Name, Email, Address 1, Address 2, City, State (with dropdown), Zip, County, Country (with default), Phone, Subject Line, Comments
Thank You Message
Enter a custom thank you message to be displayed after the form is completed.
Ex: Thank you. Your message has been successfully sent.
Common Use Scenario
Collect First Name, Last Name, Email Address (required), County, and Comments and have the information sent to YOUR Webmaster with the Subject Line contact Information from Website, using a no-reply email address. The Thank You Message should read Thank you. We look forward to replying to your message!
- Create a new page.
- Click Add a Web Part in any of the web part zones.
- Add the ContactUs web part.
- Click the down arrow in the upper-right corner of the web part and choose Web Part Properties.
- In the Web Part Properties enter firstname.lastname@example.org as the Recipient, email@example.com as the From Address, and Contact Information from Website as the Subject Line.
- Check Display for First Name, Last Name, Email Address, County, & Comments.
- Check Required for Email Address.
- Enter Thank You! We look forward to replying to your message! in the Thank You message box.
- In the Web Part Properties click OK.
- Publish your page.
The form below is an example. Always introduce your form to cover any particulars you anticipate a user to have questions about, such as what type of information to leave in the comments box.