Jump to content

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


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>

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.