ok... How would you test if other associations were submitted? The
example in the docs does not really work for what I want to test
against. How do I get access to all the other fields submitted to be
saved?

On Tue, Jun 5, 2012 at 9:44 PM, John Hardy <[email protected]> wrote:
> Write your own validation routine.
>
>
> On Jun 5, 2012, at 5:45 PM, Michael Gaiser wrote:
>
>> I have a Domain Model that has 4 "has Many" relationships with 4
>> different join models (Character, Clan, Covenant, Coterie). When
>> creating a new record, the user is presented with 4 option boxes, each
>> filled with different data pertaining to the 4 associated models but
>> defaulting to an empty option. The Rule I want to create will require
>> one field to contain selected data, but the other 3 to be empty. If
>> the user selected two or more options, I want to have an error
>> displayed on the option boxes that the user selected. Any ideas?
>> Thanks.
>>
>> --
>> 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
>
> --
> 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

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

Reply via email to