A form choosing a web page.

I want to build a simple form with radio buttons that when you choose no will take you to one page and if you choose yes will take you to another.  My server doesn't support cgi scripts, and I would prefer to make it compatible to netscape 2.02 but netscape 3 will do just fine.
LVL 1
isilverAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rupertsConnect With a Mentor Commented:
Yippe done it!

<HTML>
<HEAD>
</SCRIPT><TITLE>Document_Title</TITLE>
</HEAD>
<BODY>
<form>
  <p><input type="radio" name="R1" value="V2"  ONCLICK="window.location.replace('page1.html')">Go to Page 1</p>
  <p><input type="radio" name="R1" value="V3" ONCLICK="window.location.replace('page2.html')">Go to Page 2</P>      </select></p>
    </form>
</BODY>
</HTML>

change the .replace to .yourwindow name if you are using frames! And you want a different target name.
0
 
rupertsCommented:
I've done one with drop a drop down box...

Its at www.rest.demon.co.uk/fruit

I know its not radio buttons, but if you want that I can extract the JAVASCRIPT for you!
0
 
isilverAuthor Commented:
I like what you did, however I would prefer it to use bullets.  If it doesn't get answering in a few days, I will give you points because that is the best I have seen so far.
0
 
isilverAuthor Commented:
that works great thanks a lot man
0
 
rupertsCommented:
Sorry...
Just one thing...
Remove the </select> tag at the end of line 9 (I think)
and the </script> tag from line 3..

I got carried away!
0
All Courses

From novice to tech pro — start learning today.