I have created rules example: 'someRule-1' => array( 'rule' => 'alphaNumeric', 'message' => 'Only alphabets and numbers allowed', 'last' => true ), 'someRule-2' => array( 'rule' => array('minLength', '8'), 'message' => 'Minimum length of 8 characters' ),
And these rules are used in other models thruout the site. How can I define these common rules in app_model I would guess and then apply them to the individual models? Rather than typing out the exact same rules over and over for every model requiring the exact same rule set. Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---