I have a problem that I cant figure out...
I have a page with a form. Depending on a PHP script a number of groups (1 to 3) appears containing one radiobuttons and one menu)...
AN EXAMPLE WITH 3 GROUPS:
:form start:
:radiobutton1: :menu1: <-- group 1
:radiobutton2: :menu2: <-- group 2
:radiobutton3: :menu3: <-- group 3
:form end:
the possible output can be:
group1 - group2 - group3
group1 - group2
group1 - group3
group2 - group3
group1
group2
group3
Now here is the problem: I want it like so that when I press on i.e. :menu1: (using an onClick) function I want the corresponding :radiobutton1: to be checked and when I press :menu3: I wan't :radiobutton3: to be checked and :radiobutton1: unchecked!
I've kind of like managed to do this but the problem is that when I submit the information I only want the selected value of the :menu: that corresponds to same :radiobutton:...
How in the hell do I do this? I've tried 4 billion times!