tanx friends
i got it
created a css class
.error-message{
color:#FF0000;
}
--------------------------------------------------------------------
Miqdad Ali
http://www.miqdadalik.co.cc/
http://www.miqdadali.co.cc
On Fri, Jan 28, 2011 at 11:34 AM, Jeremy Burns | Class Outfit <
[email protected]> wrote:
> It's a CSS thing. Look for the style applied to the flash message and
> change it in your stylesheet.
>
> Jeremy Burns
> *Class Outfit*
> *
> *
> [email protected] <[email protected]>
> http://www.classoutfit.com
>
> On 28 Jan 2011, at 05:54, Miqdad Ali wrote:
>
> anybody have idea for this
> var $validate = array(
>
> 'name' => array(
> 'rule' =>
> array('custom','/^[A-Z -.]{1,}$/i'),
> 'required' => true,
> '*message*' => 'Please Enter
> Name'
>
> )
> )
> this is my *model* for validating name I want to display this *message* in
> red *color*
> pls help.........
>
>
> --------------------------------------------------------------------
> Miqdad Ali
>
> http://www.miqdadalik.co.cc/
> http://www.miqdadali.co.cc
>
>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> 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
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php