thanks!
On Thu, Dec 30, 2010 at 3:24 AM, john lyles <[email protected]>wrote:
> You can override the error message using FormHelper :http://
> book.cakephp.org/view/1401/options-error
> If your form looked something like this you would get the result you
> are looking for:
> echo $this->Form->input('username', array('error' => $this-
> >data['User']['username'] . ' is taken'));
>
> On Dec 29, 11:07 am, Greg Skerman <[email protected]> wrote:
> > 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en