Hello,
Let's imagine that we have privacy options page in social network; two group of radio buttons.
Allow to post on wall p f c (groupA)
Allow to view wall p f c (groupB)
p = public
f = only friends
c = closed
It is obvious that there is a dependency between this groups of checkboxes. For example, we should automatically set groupA=c
when groupB=c
; viewing wall is closed, so wall comments form should also be closed and so on.
It is possible to solve this problem using numerous if's, but we will have very complex control structure as result.
Any good solution?
Thank you