Jump to content

Hiding Radio Buttons by User Request


gdanelian

Recommended Posts

Hello all...

I have set up a quiz question:<form action="http://********/quiz2.php" method="get" class="a1">

<p align="center">WELCOME TO MY COURSEWORK QUIZ...</p>

<p align="center"><strong>Question One: Which of the following was originally designed for producing dynamic web pages </strong></p>

<div align="center">The Universe

  <input type="radio" name="ANSWER" value="The Universe" > <br>

  XHMTL <input type="radio" name="ANSWER" value="XHMTL" > <br>

  CSS <input type="radio" name="ANSWER" value="CSS" > <br>

  PHP <input type="radio" name="ANSWER" value="PHP" > <br>

  <input type="submit" value="SUBMIT YOUR ANSWER">

</div>

</form>

 

I want to include a link called "Do you need help? Click here for a 50/50" which when clicked two of the radio buttons become hidden.

 

How do I do this? I have seen some funky things with XML/javascript but my quiz is written in xhtml format and is linked to php functions using $_GET

 

All help welcome!

Thank you

Link to comment
https://forums.phpfreaks.com/topic/135231-hiding-radio-buttons-by-user-request/
Share on other sites

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.