I am developing a backup plan module for my application, where use can
specify multiple items to be backed up. To save a backup plan, at
least one item should be specified by the user. How can I add this
requirement to my model validation.

I am using the select->multiple checkbox to get the user input.
data[BackupPlan] => name, description
data[BackupPlan][BackupItem] => id1, id2, id3

Thank you.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to