Personal tools
You are here: Home Documentation Tutorials PloneFormGen Recipies Petition Form
Document Actions

Petition Form

How to create a "sign this 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.

 

 

 

 

 

 
by samk last modified 2009-04-14 13:19 All content on this site is licensed under a Creative Commons License.
Still Stumped?
If you've still got questions about Plone, here are your best bets for finding out more:
 

All content in this site distributed under the Creative Commons "Attribution-NonCommercial-ShareAlike" license unless otherwise noted.

Powered by Plone CMS, the Open Source Content Management System