- Joined
- Aug 26, 2015
- Messages
- 1
- Reaction score
- 0
Hi everyone.
I know there is a similar thread out there, but I had trouble with it.
I don't know html code very well, but it seems to me that a value selected from a drop-down box ought to be able to be used to go to another page. I just don't know how to go about it. I created two drop-down boxes, one where I didn't specify a value, and one where I did. In the one that I did, I specified the name of the new web page I wanted to go to.
Following are the two bits of code for each of the drop-down boxes:
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults"
U-File="C:\Users\Douglas\Documents\Test Website\_private\form_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><select size="1" name="D1">
<option>web page 1 - specify value not clicked</option>
<option>web page 2 - specify value not selected</option>
<option>web page 3 - specify value not selected</option>
</select>
<input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2"></p>
</form>
-------------------------------------------------------------------------------
Here is the other:
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults"
U-File="C:\Users\Douglas\Documents\Test Website\_private\form_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><select size="1" name="D1">
<option value="web page 1.htm">web page 1 - with specify value set to web page</option>
<option value="web page 2.htm">web page 2 - with specify value set to web page</option>
<option value="web page 3.htm">web page 3 - with specify value set to web page</option>
</select>
<input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2"></p>
</form>
-----------------------------------------------------------------
Can anyone help me?
Thanks,
Douglas
I know there is a similar thread out there, but I had trouble with it.
I don't know html code very well, but it seems to me that a value selected from a drop-down box ought to be able to be used to go to another page. I just don't know how to go about it. I created two drop-down boxes, one where I didn't specify a value, and one where I did. In the one that I did, I specified the name of the new web page I wanted to go to.
Following are the two bits of code for each of the drop-down boxes:
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults"
U-File="C:\Users\Douglas\Documents\Test Website\_private\form_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><select size="1" name="D1">
<option>web page 1 - specify value not clicked</option>
<option>web page 2 - specify value not selected</option>
<option>web page 3 - specify value not selected</option>
</select>
<input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2"></p>
</form>
-------------------------------------------------------------------------------
Here is the other:
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults"
U-File="C:\Users\Douglas\Documents\Test Website\_private\form_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><select size="1" name="D1">
<option value="web page 1.htm">web page 1 - with specify value set to web page</option>
<option value="web page 2.htm">web page 2 - with specify value set to web page</option>
<option value="web page 3.htm">web page 3 - with specify value set to web page</option>
</select>
<input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2"></p>
</form>
-----------------------------------------------------------------
Can anyone help me?
Thanks,
Douglas