> It's work but I'd like that when the first rule is not satisfied it > don't try to check the second rule.
Swap the order of the two rules in the model. It checks that they're satisfied in reverse order. > Now it check first rule (if blank it set "required"), so it check > second rule and it overwrite my first message and it display > "unique...". Because your rule's called "unique," that's what will display by default. You can overwrite this in the view. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---