I have a field checkbox contain multiple values, eg, A,B,C,D,E
I want to force C to be selected if D is selected, but not forcing D to be selected if C is selected.

So if D only is selected, C+D must/will be selected
But if C only is selected, he can select D but does not have too.

real examples is for program selection in a conference registration,
eg.
conference (paid event)
short course (free event for conference participant, otherwise has to pay)
field trip (paid event)

so, one cannot select short course only in the hope to get free stuff only. but one can freely choose (or choose not) to attend short course if he/she register for conference

how do i go about it using field validation?

thanks
hendro

Comments

g089h515r806’s picture

It does not support it diectly, you need write your own code.

g089h515r806’s picture

Issue summary: View changes

trying to be more precise problem description

g089h515r806’s picture

Issue summary: View changes

related issue: Token suport