Nice Clean Example

PHP Processed Form Generator

Welcome to the PHP form maker utility. About 10 times a year I'm asked to create a simple form that just emails people with information. The resulting form always gets a different makeover for style, but the skeleton is always the same and a good candidate for some automation. PHP is the language of choice because its available on the various hosts that require this. No need to create an application, set up a database or use some fancy web service, just collect responses and shoot. I wrote this utility to help me with that work so I thought it might be useful for others.

This utility will prompt for questions and kinds of response and at the end it will produce one .php file that has the form and the code in it that you can customize to finish. You can preview that form online as well. Its not trying to be full featured and handle every case, just save on the 45 minutes of typing that gets the framework up so it can be finalized.

To use this page enter the text of a question (an item for the form), select the kind of control you want to process the question (textbox, checkbox, radio etc.) and enter the names for those controls. When you're ready click on "Add Question". The list of questions that you have entered are displayed on the left. The 'Live Preview' button will display the form and let you enter data to test it. The 'Show Page' will pop open a new window with the contents of the page.

If you're ready to go then lets Run This Puppy