- Multiple inputs may be interconnected in such way that client side events that occur on one input can trigger actions on the context of other inputs. Developers may use input interconnection support without writing Javascript code.
- Can be extended with new types of input controls plug-in classes.
- Custom input plug-in classes can be used to support for handling client site events on the server side without submitting the form or redrawing the whole form page
- Some control plug-in classes are made available:
* AJAX based form submission (without reloading the whole page)
* Auto-complete text inputs
* Select a location on a map using Google Maps API
* Calendar date input
* CAPTCHA test to prevent automated access by robots
* Linked select input to switch select options when the value of another input changes. An unlimited number of selected can be linked in cascade. Additional plug-in subclasses are provided to retrive option groups from a MySQL database or many other SQL databases using the Metabase PEAR::MDB2 PHP database abstraction layer APIs
* Manage animations that apply visual effects to the page form elements, like: fade-in, fade-out, show, hide, update content, etc..
- XHTML compliant output.
- Load submitted form field values even with register_globals option Off and strip slashes when magic_quotes_gpc option is On.
- Keyboard navigation support:
* Attachment of labels with activation keys to each form field.
* Tab navigation order index.
- Built-in server side (PHP based) and client side (Javascript 1.0 or better) field validation for:
* E-mail address
* Credit card numbers (Visa, Mastercard, American Express, Discover, Diners Club, Carte Blanche, enRoute, JCB, any of these or even determined by a select field).
* Regular expressions.
* Field not empty.
* Field equal to another (useful for password confirmation fields).
* Field different from another (useful for reminder fields that must not be equal to the actual password).
* As set (for check boxes, radio buttons and select multiple fields).
* As integer number (with range limitation).
* As floating point number (with range limitation).
* Programmer defined client and server validation functions.
- Highlight invalid fields rendering them distinct CSS styles
- Security attack prevention by optionally discarding invalid values passed in fields that could not be edited by users but may be spoofed by attackers.
- Option to define a value that, when used in a field, it is accepted without performing any of the validations defined for the field.
- Ability to stop the user from submiting a form more than once inadvertdly.
- Sub form validation (validate only smaller set of field depending on the submit button that was used).
- Composition and generation of the form HTML output with fields displayed as fully accessible or in read-only mode.
- Generation of Javascript functions (useful to set to the page ONLOAD event):
* Set the input focus to a field.
* Select the text of a field.
* Set the input focus and select the text of a field.
* Enable and disable input fields
- Automatic capitalization of the text of a field:
* Upper case.
* Lower case.
* Word initials
- Replacement of text field expressions to perform adjustments like trimming whitespace or auto-complete values based on rules defined by regular expressions
- Compose forms with templates using plain HTML files with embedded PHP code or using the Smarty template engine with a supplied pre-filter plugin
- Etc.
TM::Apeform creates self repeating web forms, so called "Affenformulare" (German for "ape forms"). If a million apes is typing into the form (that's the "Infinite monkey theorem"), the form is displayed again and again as long as it contains errors.
- The usage is not different from the creation, validation and processing of the form values that the user entered. Everything is done in a single script.
- The class hides the access to POST and global variables and simply returns the submitted values.
- It offers an easy way to handle input errors (checking valid email addresses for example).
- It supports all form elements including radio buttons, select boxes, file upload fields and so on.
- It provides an own templating system, so you do not have to deal with HTML at all.
- It creates labels and access keys according to HTML 4 standard and returns XHTML compatible output.
- In addition you can add JavaScript handlers to any form element.
TM::Apeform is optimized to be used with the minimum amount of source code. For example, the following script is a full functional form mailer.
<?php
require_once("Apeform.class.php");
$form = new Apeform();
$message = $form->textarea("Your Message");
$form->submit("Send Email");
$form->display();
if ($form->isValid()) mail("to@example.com", "Subject", $message);
?>
This package can be used to show and process database access forms using AJAX.
There is one class that can generate HTML and Javascript to display form fields and have them validated immediately after the field values are changed.
Another class can validated and process the forms submitted via AJAX to update MySQL database records according to mappings also stored in the database.
This class can to generate and process e-mail contact forms.
It can compose a form with custom optional fields. All forms start with a name and an e-mail field.
The class can also validate and process the form by sending it to the configured site contact address. The user e-mail and the custom fields can be made optional.
If all fields are correct, the class composes and sends a message with the values submitted using the form. Otherwise, The class displays an error message and presents the form again.
The form presentation details can be customized CSS styles.
This class builds completely an HTML Form based in a description of the fields, it's ideal to avoid writing one form any new table you have to feed.
This class builds completely an HTML Form based in a description of the fields, it's ideal to avoid writing one form any new table you have to feed. This contains only the form generator. And it´s builded over two classes, one builds the field and the other builds the entiry form.
-----------
Esta clase crea un formulario HTML a partir de una descripción de los campos, es muy flexible y puede crear todo tipo de controles de formulario, se puede adaptar fácilmente para que la descripción de los campos resida en una base de datos en lugar de en un fichero de texto.
This program allows you to create fast a simple interface to manage the every day database querys so you don`t need to waste time in doing theese bore forms that insert, read, and list or delete recors from a database.
This program allows you to create fast a simple interface to manage the every day database querys so you don`t need to waste time in doing theese bore forms that insert, read, and list or delete recors from a database. It works with both MySQL and ODBC and generates a specific class and a simgle html form driven menu to interface your tables.
Also generates SQL querys so you only need to copy and paste them into your code.
Try it, only its a dirty and easy program that is going to give you horus and hours so you can concentrate in your code and in your finall interface not in boring things.
Off course you could copy and paste all this code directly to your scripts so you can insert, extract, list, and so and so easy and fast!!!