if you want to focus a validation error, you can use css.
when a submitted form has validation errors, cake will return that
field with a css class.
so its better if u define that class in ur stylesheet with a red
border for example.

hope that helps.

--
Fahad
http://frinity.blogspot.com

On Aug 24, 7:28 pm, [EMAIL PROTECTED] wrote:
> hello guys
>
> in my cakephp project i uses the cake validation witch uses server
> side validation , i need it to focus on the error field after
> detecting it so how can i do something like this  ?? since the focus
> can be done with a client side  validation , so im wondiring if there
> is any way in cake to do that in the same validation process .
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to