newhck / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 0 forks source link

Adding the Form::setSuccess method #160

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This method still does not exist, it would be nice to find in the next version 
of PFBC

For example, when all fields are validated to a contact form 
It displays a success message from the same style as the error message but for 
example in green color.

Example Code:

Form::setSuccess('Congratulations, your message has been sent!'); 

Original issue reported on code.google.com by pierrehe...@gmail.com on 24 Feb 2012 at 10:30