Jump to content

Radio Button to open another Radio button forms


Irman

Recommended Posts

Hi I need to make a form whereby it is being controlled by a radio button.

 

I already make it to work the way I want, with just 1 problem i faced. I need to make it in such a way that:

 

if radio1 is clicked, it will show radio7, radio8, radio9 and radio10.

 

if radio2 is clicked, it will show radio7, radio8, radio9 and radio10.

 

if radio3 is clicked, it will show radio8, radio9 and radio10.

 

if radio4 is clicked, it will show radio9 and radio 10.

 

I have already achieved the code above on how i want it to show accordingly.

 

The problem arises when I clicked on radio2, i want to deselect all option from any radio and default select the first option; either radio7, radio8 or radio9 accordingly.

 

Currently, if i select radio3, the option will still be from radio2. This is not what i want. Any suggestion?

 

Attached are my working files.

111.php

style.css

radio-image.css

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.