Solved

A form choosing a web page.

Posted on 1999-01-06
5
176 Views
Last Modified: 2010-04-09
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.
0
Comment
Question by:isilver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:ruperts
ID: 1841406
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
 
LVL 1

Author Comment

by:isilver
ID: 1841407
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
 
LVL 4

Accepted Solution

by:
ruperts earned 100 total points
ID: 1841408
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
 
LVL 1

Author Comment

by:isilver
ID: 1841409
that works great thanks a lot man
0
 
LVL 4

Expert Comment

by:ruperts
ID: 1841410
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question