Hi everyone. I'm the new kid on the block. My name is Douglas.
In Frontpage 2000, you can create a drop-down box, and either specify a value, or not. There are two default buttons that get created under the box: Submit, and Reset.
I would like to go to a specific webpage when the user selects an item from the drop-down box, and clicks on "Submit."
The bare code looks like this: First one is without specifying a value, and in the second one, I specified a value equal to the webpage I want the user to go to:
using a drop-down box in Frontpage 2000 to go to a webpage
in HTML/XHTML
Posted
Hi everyone. I'm the new kid on the block. My name is Douglas.
In Frontpage 2000, you can create a drop-down box, and either specify a value, or not. There are two default buttons that get created under the box: Submit, and Reset.
I would like to go to a specific webpage when the user selects an item from the drop-down box, and clicks on "Submit."
The bare code looks like this: First one is without specifying a value, and in the second one, I specified a value equal to the webpage I want the user to go to:
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults"
U-File="C:UsersDouglasDocumentsTest Websiteprivateform_results.txt"
S-Format=:TEXT/CSV" S-Label-Fields="TRUE" -->
<p> select size="1" name="D1">
<option>webpage1/<option>
<option>webpage2/<option>
<option>webpage3/<option>
</select>
<input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2"></p>
</form>
The second one is exactly the same, except each line that begins with <option> looks like:
<option value="webpage1.htm">webpage1</option>
Can anyone tell me what code to add, and where?
(p.s. next year I'm upgrading to WordPress!!!!)
Thanks,
Douglas