Hello guys, I was wondering that what is the best place to change the data to be fed to the model. Consider the following situation:
I have a form which asks the user about the title of a content. if the user has not given the title, i want to give some default value to the title(note that this default value is dynamic and called be defined using default directive in MySql). Now what is the best place to do this stuff? is it beforeValidate or beforeSave or should i modify the data in the controller itself? -- Thanks & Regards, Novice (http://ishuonweb.wordpress.com/). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
