I am implementing ACL for an existing site. There is a view file , the name of the view file is edit.ctp it is under the folder acl_aros. This view file contains a single text box, and this value is used for the 'alias' column in 'aros' table.
The name of the controller that has the 'save' function is acl_aros_controller.php The name of the model file in which I have written the validation for the field is 'acl_aro.php'. The validation says the text field cannot be empty and has to be min. of 4 char. But the problem here is data's are getting inserted, but it never uses the validation in the model file. In simple words, it doesn't uses that model file at all. If I submit a form with empty text box, an empty record is getting inserted. What am I missing here? How should I tell the system to use this model file so that validation check is done. Please help me with this. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---