Re: Model Validation Error Message
You can:
- Add a massege by Model::invalidate function or even add a message to validation error messages field (Controller::validationErrors)
- Add client side validation (there a neat jQuery validation plugin with minimal configuration
On Friday, January 18, 2013 11:35:56 PM UTC+1, Michael wrote:
So because of how I am dynamically creating my form inputs/save data, the standard rule validation msg isnt being displayed on the input when the save rule returns false. How do I manually trigger the msg to appear on a given input? Thanks~Michael
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home