Formitable - Form creation class
Description
Formitable is a PHP class used to ease the creation of submit-ready HTML forms from MySQL database tables. It analyzes the fields of a given table and outputs the best input type for each (e.g. enum type becomes radio buttons or select, set type becomes checkboxes or multiselect). Data is automatically inserted into the table upon form submission.
Formitable Features
- Output a complete form in a few lines of code
- Validate data via regular expressions and provide custom feedback
- Run an arbitrary function against any value to modify or validate
- Easily retrieve and update existing records
- Assign default values to all form fields
- Support for normalized tables
- Customize all aspects of HTML output
- Full CSS styling
- Easy integration into templating systems
- Output the form from a template to ease custom layouts
- Accessibility support such as labels, fieldsets, legends and more
- Form signatures to prevent arbitrary field injection or removal
- Encryption for primary key and other sensitive data
- Outputs attributes such as MAXLENGTH to reflect your table design