?
Solved

A form choosing a web page.

Posted on 1999-01-06
5
Medium Priority
?
178 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 400 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

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

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.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Suggested Courses

777 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