This work hasn't conciliation with the Original Formee Project
Just a simple PHP class to Build xHTML and CSS Form based on Formee Framework
The first step to use it is to include the class file in your php page:
include("class/formee.builder.class.php");
Replace the class/
with the path you used.
$formeeBuilder->inputText(string $title, string $id, string $val[, string $class[, int $size[, string $required[, string $type[, string $readonly]]]]]);
Patterns
$size: 12
$required: false
$type: text
$readonly: false
$formeeBuilder->inputCheck(string $title, string $id, array $val, string $type[, string $checked[, int $size[, string $class[, string $required]]]]);
Patterns
$cheked: none
$size: 12
$required: false
$formeeBuilder->textArea(string $title, string $id, string $val[, string $class[, int $size [, string $required]]]);
Patterns
$size: 12
$required: false
$formeeBuilder->Select(string $title, string $id[, string $val, string $default[, string $multiple[, string $classe[, string $size[, string $required]]]]]);
Patterns
$multiple: false
$size: 12
$required: false
$required: If wanted the field required, you need to type: 'required'
$val: If InputCkech or Select the val is an array, like:
array(value1 => description1,value2 => description2)
$readonly If wanted the field readonly, you need to type: 'readonly'
$checked/$default The values if need to be checked, for more than one, broke the values with: ','
$size The size can be from 1 to 12
$formeeBuilder->finaliza(string $title, string $id[, string $url_back[, bool $reset]]);
To all work perfectly, You'll need: