i'm not sure what you mean by this.

you can use the Cake error helper to output your error messages. I
think if you provide the true return argument you can retrieve the
error and do whatever you like with it.

I'm using the "advanced validation" method of 1.1.x.x, but I think 1.2
has better validation. you'd have to look under the hood a little bit
to see how it goes about recording the errors and how you might go
about retrieving them for your own purposes

is that what you're after?

On 15/02/07, anandrv <[EMAIL PROTECTED]> wrote:
>
> how to print different error messages in single text box.
> for example username is blank means Error message  "Please enter the
> user name" username is less then 3 char means Error message  "please
> enter the 6 to 15 char" if the user name is numaric means Error
> message "Please give the chars"
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to