Wednesday, December 29, 2010

is it possible to include the failed input string in the validation message?

Hi,

I'm trying to make my validation messages a little more meaningful.

I would like to include the failed input in the validation message itself.

So rather than a message like "That username is already taken"
I would like to show "The username <user> is already taken"

Is this possible?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: