WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Forms

Form Processor

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


Form Processor - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting

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 

Download
Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers

Properties

Created:
7 August 10

Last Update:
12 February 11

Compatible Browsers:
Chrome 4, Chrome 5, Firefox, IE6, IE7, IE8, Opera, Safari

Files Included:
CSS, HTML, PHP

Software Framework:
N/A

Software Version:
PHP 5.0 - 5.2, PHP 5.3, PHP 5.x

Keywords

eCommerce, eCommerce, All Items, contact, contact form, csv, database, email, input, mysql, post, processor, subscribe, support, validation