tonyrampedi / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
0 stars 0 forks source link

Error message on custom validation #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is it possible to do a custom validation(PHP) and give an error message on the 
corresponding input fields like the build-in validation would do?

What version of the product are you using?
1.1.4

Original issue reported on code.google.com by sven.lar...@gmail.com on 14 Dec 2010 at 10:27

GoogleCodeExporter commented 9 years ago
Not in version 1.1.4; however, this functionality has been added since and will 
be rolled out in the next version release.  Feel free to grab the working svn 
copy...

svn export http://php-form-builder-class.googlecode.com/svn/trunk/ 
php-form-builder-class-read

Version 1.1.5 will introduce a new function - setError - that accepts an error 
message and an optional form element name to be attached to.

- Andrew

Original comment by ajporterfield@gmail.com on 14 Dec 2010 at 3:14