 |
|
Innovation award
 Nominee: 1x
Winner: 1x |
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);
?>
| |
Screenshots |
|
|
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (88.2%) |
Good (88.2%) |
Good (81.6%) |
Good (88.2%) |
Sufficient (75.8%) |
- |
Sufficient (77.4%) |
26 |
| Month: |
Not yet rated by the users |
| |
Packages that need this class |
|
|
| Class |
Dependency |
Why it is needed |
| TM::MyCSV |
Conditional |
Only for the Administrator class and script, to display all the forms. |
| |
Applications that use this class |
|
|

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|