?
Solved

How do I redirect to an html page from a form submission?

Posted on 2011-03-09
2
Medium Priority
?
300 Views
Last Modified: 2013-12-25
Hey again experts!

Okay, I have a PLACEHOLDER form so that a client can look at a design and see how it will work. It's just cosmetic, I DON'T want to actually submit any information -- all I want to do is sent the visitor to an html page when s/he hits "submit" -- regardless of what's in the form.

Simple, right?  :-)

Points for speeeeed! Thanks.
0
Comment
Question by:amateur6
2 Comments
 
LVL 16

Accepted Solution

by:
JF0 earned 2000 total points
ID: 35088098
           <label>submit
                  <input type="button" name="button1" id="button1" value="Button" onclick="document.location = 'http://www.google.com';" />
            </label>
0
 
LVL 1

Author Closing Comment

by:amateur6
ID: 35088332
GENIUS. And so freakin' simple. I love it. Cheers!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month16 days, 15 hours left to enroll

862 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