I have configured a number of radio options in a "parent" component. When each of the radio buttons are selected, different "child" components showup. Each child is unique to each radio button in the parent. Like the following:
parent =>
radio#1
radio#2
radio#3
child=> [radio#1]
radio#1-option#1
radio#1-option#2
radio#1-option#3
child=> [radio#2]
radio#2-option#1
radio#2-option#2
child=> [radio#3]
radio#3-option#1
radio#3-option#2
radio#3-option#3
radio#3-option#4
What I am trying to achieve is allowing no more than one option to be selected across all the lists of radio buttons.
So, if I select radio#1-option#1 under parent=>radio#1 and I happen to change my mind and select radio#3=>option#4 under parent=>radio#3, I want radio#1-option#1 to be automatically deselected/unset.
Comments
Comment #0.0
sisko commentededitted
Comment #1
danchadwick commentedHidden selects will not be saved to the database once the submission is finished (not a draft). I think this meets your needs. Otherwise consider some custom jQuery for this form.