Hai,

I have one problem with custom validation. In my model class validater
function is

function validates()
{
     // Validation code goes here
   if($error)
      return false;

 }

Validation worked for me, but i can't display the error message on the
view using tagErrorMsg.
ie;
echo $html->tagErrorMsg('Project/start_date', 'please enter a valid
date')  ;

Can any one solve this problem?

Thanks,
Vidya.


--~--~---------~--~----~------------~-------~--~----~
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