Jump to content

select drop down from form opens up new options to choose from.


jasonc

Recommended Posts

i am wanting to have more options show when an option from the drop down box is selected.

 

also i will be adding more options to the drop down box that will in turn open up another selection of options depending on the option in the drop down box selected.

 

how can i do this?

 

thank in advance for your help.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<form name="form" method="post" action="">
  <select name="reason">
  <option value="General">General</option>
  <option value="Found error on site">Found error on site</option>
  </select>



<!-- only if an option above is selected then the following is shown -->
  <br>
  1<input name="cb1" type="checkbox" value="1">
  <br>
  2<input name="cb2" type="checkbox" value="2">
  <br>
  3<input name="cb3" type="checkbox" value="3">
  <br>
  4<input name="cb4" type="checkbox" value="4">
<!-- end of hidden options -->



  <br><br>
  <input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>

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.