PHP script for generating XHTML forms and validating them both with JavaScript and on the
server-side.
Features
- Generates both JavaScript and server-side validation code
- Uses PEAR's HTML Table for table generation
- Can process values for inserting into a database or use other filters
Download
- html_form.tgz
- The complete code, tarred and gzipped
- html_form.zip
- The complete code, zip compressed
Changelog
5 Mar 2005
- Added an example contact form
- Bundled with PEAR's HTML_Table
9 Aug 2002
- Added
setDefaults method to allow
setting of default values after elements definitions
3 Aug 2002
28 Jun 2002
Dependencies
Bookmark/Search this post with:
Comments
PHP
Looks good to me
php
excelent
Documentation?
How about some documentation or examples to show how to use the features in this? The 'rules' interface is hardly intuitive....
PEAR vs mySQL
I've read all the code and am preparing to implement. However one caveat to myself: Should I continue as my backend is mySQL? I'm thinking that I can re-write to suit my needs but am unsure of the modularity of all the dependent code/libraries/user class, etc...
Any response welcome.
Best regards,
-sjk
Example
Could anybody give an example of the html file .... makes live a bit easier for me.
Thanks
Jamie
script demo
Martin,
You write great tutorials and scripts, it would be nice to have a demo, when possible.
I appreciate the script demo, but do you have an example of how to build a select box? Thanks