This package can generate and validate forms composed with fields defined in XML files.
The generated forms can use a Javascript remoting scripting library to invoke remote PHP scripts without submiting the forms.
The package consists of:
- PHP class xmlForm, based on the original written by Herman Veluwenkamp to generate HTML forms from XML configuration file.
- PHP class dbUndo (in the class.undo.php file) designed to manage MySQL database record updates and undo operations, which comes together with a PhpUnit test suite class
- A XSL form definition file, covering all the generic needs of the supplied form samples, including the following form input formats: text, textarea, checkbox, radio button, remote script invocation button, file, hidden, single and multiple selections (with selection lists that can be kept in separate files)
- A number of Javascript and PHP functions that use Brent Ashley's jsrs (javascript remote scripting library), including his own jsrs package |