|
|
Hi,
can i somehow see *in a view* whether a forma validation error
occurred? Like:
if ($form->hasErrors() )
echo 'there was an error';
else
echo 'please edit the entry';
Or can i only check for that in the controller and have to pass a
variable to the view?
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 cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
|
|