Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.