Help with FP2000 Forms - please

S

Stephen

Hi

I'm working with FP200 - my question about 'forms'

I should know the answer to this one - but I don't.

With a drop down menu (4 options) I want the Form
to open up a .htm page

So, user selects Option 1 = 1test.htm opens
user selects Option 2 = 2test.htm opens

I am not using a database, but I could just about
handle a simple piece of asp (just).

Any help would be really appreciated.

Thanks in advance - Stephen
 
S

Steve Easton

Here's an example, edit to suit your needs:

<form>
<p align="center"><b>Select a site </b>
<select id="Choice" style="color: #0000FF" size="1" name="mySelect">
<option value="">Select one</option>
<option value="http://altavista.com">AltaVista</option>
<option value="http://www.yahoo.com">Yahoo</option>
<option value="http://www.google.com">Google</option>
</select>
<input type="button" value="Go"
onclick="window.open(Choice.options[Choice.selectedIndex].value)">

Note that it uses a Go button.
You "must" use a Go button or people who navigate via the keyboard will never get past the
first item in the drop down.


--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top