Petition Form
Time to Build: 20 Minutes
If you need a primer on the basics of PloneFormGen, read this tutorial first, from ONE/Northwest
Take a look at an example of this form at GreenForAll.Org
In this example, a petition form is simply a form which your site visitors can complete with their contact information and check a box to "sign" the petition. A petition form is a simple, but effective way to do some light engagement with your members and other site visitors.
Ingredients
- Nice introductory content
- Petition content
- Several string fields
- A textarea field
- Two boolean fields
- Mailer adapter
- Thank you adapter
- Saved data adapter
Steps
Create a Form Folder - PloneFormGen should give you an Email, Subject, and Comments field by default. Delete the Subject field, as you will not need it.
Add introductory content to the top of the form, encouraging people to sign the petition.
Add the petition language below that.
Create String Fields for First Name, Last Name, Zip Code, plus any other information you wish to gather.
Create a textarea field for gathering additional comments.
Create a boolean field for "yes I want to sign this petition" (required).
Create a boolean field for "sign me up for your newsletter" (optional).
Add a Saved Data Adapter so that the form will collect all the information for export to a spreadsheet.
Edit the Mailer Adapter and select a recipient for the form data. The idea here is that you're selecting someone to receive a notification when the form has been submitted. You should also change the Subject to something more meaningful than "Form Submission" under the Message tab.
Edit the Thank You Adapter to include a thank you message. You can also decide if you want the form data displayed on the thank you page or not.