Generic form email v1.1
 

Overview: Simple solution to generating a form - to - email page

features:
no knowledge of php needed
no knowledge of javascript needed
validates required fields, email fields and date fields
allowes 'ignored' fields (appear on form but not sent to email)
instructions for hiding your email address from spammers.

Requirements:
website must run on a server supporting php 4
basic knowledge of html forms

Quick start instructions and installation:
unzip genform.zip into a folder
1. create your own form page layout using html or your favorite webpage editor(you can have other forms on your page)
2. copy the file genform.php to the same folder as your formpage
3. copy and paste all the code in genformbody.html anywhere into the body of your webpage (this contains the form tags, hidden fields and submit button)
4. add your own input fields in the form
5. edit the hidden fields at the bottom of the genform for your requirements
(i.e. specifying email address, confirmation page (redirect), compulsory fields etc...)

6. That's it !

click on the example below to see it in action

example

download here (zip file with readme instructions)

Readme text file

Example of email recieved after form submission:

        name :
          glyn
          -----------------------------------------------------------------------------------
        email :
          klaatu_barada_nicto@yahoo.com
          -----------------------------------------------------------------------------------
        message :
          my message
          -----------------------------------------------------------------------------------
        rating :
          good
          -----------------------------------------------------------------------------------
        comments :
          more comments
          -----------------------------------------------------------------------------------
 

javascript email and date validation courtesy of www.juicystudio.com