Posts: 256
Location: Auckland, New Zealand
|
The drop down is a form, and should have some sort of "processing script" to control what it does with the information used. HTML alone isn't capable of processing forms which is why other languages were designed to add interactivity to websites.
So if I had just the basics of a form:
Code:
<form action="process.php" method="post">
<fieldset>
<select id="choice" name="choice">
<option label="Choice 1" value="1">Choice 1</option>
</select>
<input type="submit" id="submit" name="submit" value="Next" />
</fieldset>
</form>
Whatever I write in process.php will control how this form is handled. I only have the one choice, which is Choice 1, selecting this, sets the value for the select id/name, e.g. choice=>1, so I can choose how to handle this information, which could mean passing it to another page with a form and adding that information to the form.
Basically, you'll need some sort of script to process your form, PHP, ASP, CGI are just a few languages capable of doing this. Just research more into Server Side Languages. You could also do it client side using Javascript but the alternative languages are preferred.
Cheers,
MC
__________________
#------------------------------ signature---------------------------------------------------------------------------------#
Quote:
|
I am well recognised for what I don't do than what I do. Chores are just one of those things.
|
|