Hi I am developing an application for my uni project but I am having
trouble with validation error message doesn't show if the validation
error is in a different model
So where my validation is in the Credit Model but in an Administration
view/controller I save to the Credit Model
so my credit model is like so
var $validate = array(
'credits'=>array(
'rule' => array('comparison', '>',0),
'message' => 'credit has to be a number and bigger than 0'
)
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 [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