Hi,
Is it possible to do this and how?
I have two multiple checkbox fields and options as below:
Field1---
---[] a
---[] b
---[] c
Field2---
---[] 1
---[] 2
---[] 3
---[] 4
---[] 5
---[] 6
Field2 options (1,2) are related to Field1 option (a)
Field2 options (3,4) are related to Field1 option (b)
Field2 options (5,6) are related to Field1 option (c)
If I select option "a" from Field1, other than the options 1 and 2 in Field2, every other option should be hidden.
Likewise, If I select options "a" and "b" from Field1, other than options 1,2,3 and 4 every other options should be hidden.
Related options should only be enabled when a selection is made.
It can be possible with jquery or with the behaviours but i don't know how to start . can anyone help me?
Or
Is there any best way to solve this. Any way that we can add a heading to divide the options under the field.
Thanks in advance.