Irman Posted June 27, 2013 Share Posted June 27, 2013 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 Quote Link to comment https://forums.phpfreaks.com/topic/279618-radio-button-to-open-another-radio-button-forms/ Share on other sites More sharing options...
Rifts Posted June 27, 2013 Share Posted June 27, 2013 Do you know jquery? Quote Link to comment https://forums.phpfreaks.com/topic/279618-radio-button-to-open-another-radio-button-forms/#findComment-1438140 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.