You need to send validation from Product to Users using session. the logic is : Users -> submit form to Product -> Product function ( write session ) -> User check session -> Read session -> show validation
On 10/16/08, bookme <[EMAIL PROTECTED]> wrote: > > > Hi, > > I tried for a solution for my below problem but could not find any > where satisfication answer. > > I have two Model User and Product they have HABTM relation > > A user can select multiple checkbox of products, if he not selected > any checkbox then a message should be displayed here. So I am not > getting where and what validaton should I apply for it. > > combine table name is products_users with product_id and user_id. > > > Please tell me what and where validation should I apply? > or is there any other method for it ? > > > Thanks > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
