DropDown Selection to check boxes
I am having an issue trying to figure this out. I have one dropdown with the following choices, married, single, divorced, widow, and widowed. Out of the choices, there are three radio check boxes that are married, single, and divorced. I would like the drop-down selection to check off the appropriate checkboxes.
Married for married, Divorced for divorced, but for single, widowed, and widow. I would like those three to check off the single checkbox. Is this possible?
And is it possible to have the checkboxes feed the drop-down. Something like backward compatibility. Only showing married, single, or divorced?
I thought Id give it a try with what I looked up, but this is what I got, and I don't think I did it write or put it in the right area to see if it works. This also may not even be what I need to accomplish what I am trying to do.
this.getField("married").checkThisBox(0,event.value == "Married" ? true : false);
this.getField("single").checkThisBox(0,event.value == "Single" ? true : false);
this.getField("divorced").checkThisBox(0,event.value == "Divorced" ? true : false);
My dropdown box name is Waiver Dropdown
and my radio buttons under QAB Martial
Married
Single
Divorced.
