This is my first attempt to use callback functions in cake so soory if is a dumb question...
I'm using beforeSave() to check if an Order containing a defined set of data is already present in db. If it is already there then I would like to display a choice to the user between 'Keep adding this' or 'Cancel' or 'Go to the stored record'. To trigger the display of this alert (another view) I could rely on the fact that I can set the beforeSave() to return false if the records is duplicated, but this way I can't distinguish if the false derive from a missed validation or my duplication check... Maybe I'm missing something... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
