manipulating data in the controller doesn't sound MVC-ish to me. I was searching a way to avoid that. My first though was coding this in a Behavior but... how?
i can't put the code in beforeSave because if validation fails (and it will, because as stated above the "number" field is mandatory) this callback will not be triggered -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
