With form processor you can convert a static form into a working form in less than 5 minutes. For the moment it has 2 buildin handlers to send the form content with mail or to save the content in a CSV file. But with a bit of PHP knowledge you can easely write your own handlers.

Look at the example video and see how easy it is to use and implement.

Features

  • Convert static forms to a working one
  • Form validation (email, url, required, phone, number, date)
  • No coding knowledge needed to make your contact form work
  • Form structure doesn’t matter
  • Write form content to CSV
  • Email form content
  • Add form content to MySQL database table

Installation

Place the following before your form element:

<?php
include("../FormProcessor.php");
$Form = new FormProcessor();
$Form->setHandler( "form_email_process", array("to" => "youremailaddresss", "emailfield" => "Email"));
$Form->start();
?>
<div id="frmsuccess">Thanks for sending us an email!</div>

The frmsuccess element will only be displayed when the form is valid and submitted. And place the following after the form close element:

$Form->stop();

Add email, url, required, ... classes to the form fields depending on what type of field it is. For example if an email input field is required you add the required and the email class to that input field:

<input type="text" id="Email" name="Email" class="email required"/>

And now you have form that works.

Updates

v1.5 (26/09/2010)
* Fixed special characters problem
* Feature: Required select field
* Added send copy to email processor
* Use multiple form processor instances on one page
* Redirect after submit
* Show return message from handler after submit

v1.4.0 (16/12/2010)
* Fixed problem with multiple instances of the same form handler.

v1.3.0 (10/11/2010)
* Fixed undefined variable classes.

v1.2.0 (11/10/2010)
Fixed problems with empty classes/not required fields.

v1.1.0 (26/08/2010)
* Use multiple form processors. For example CSV + Email on one form
* Added MySQL database processor
* 0 is now also a valid number
* Fixed date compare
* Updated documentation
by
by
by
by
by
by