Solved

Changing form varification page

Posted on 2004-10-11
11
199 Views
Last Modified: 2013-12-13
Hello, I am hosting with Yahoo.  I am using FrontPage 2003.

I want to change my form verification page to include a link back to my main page.

I added the form text I currently use - As you will see, Yahoo currently handles my forms.
Weikelbob is my yahoo userID


<form method=post action="http://us.2.p2.webhosting.yahoo.com/forms?login=weikelbob">                                      
               <p style="text-align: left"><font face="Arial" size="2">Send me
                        an e-mail by filling out the contact form below. If you would
                        like to talk on the phone, include your phone number with your
                        comments and I can call you back.</font></p>
                        <p style="text-align: left"><font size="2" face="Arial">Your Name:&nbsp;</font>
               <input type="text" name="name" size="42"></p>
               <p style="text-align: left"><font face="Arial" size="2">Your e-mail:&nbsp;</font>
                <input type="text" name="email" size="42"></p>
               <p style="text-align: left"><span style="vertical-align: top">
                <font face="Arial"><font size="2">Comments:</font> </font></span>&nbsp;<textarea rows="7" name="message" cols="41"></textarea></p>
               <p style="text-align: left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
               <input type="submit" value="Submit" name="Your Submission: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
               <input type="reset" value="Reset" name="B2"></p>
          </form>
0
Comment
Question by:weikelbob
  • 4
  • 2
  • 2
  • +1
11 Comments
 
LVL 40

Expert Comment

by:RQuadling
ID: 12284471
Just add a link to the HTML?

<a href="http://www.yoursite.com/yourpage.html_or_php_asp_or_cgi_or_whatever" alt="My home page">Visit my home page</a>

If you are using FrontPage, you will probably need to insert a Hyperlink. I don't use FP. As you can see, the amount of junk it adds to the HTML is appalling. Font tags EVERYWHERE! Embedded styles. Uck!

Also, you asked this in a PHP forum. Your question does not seem to relate to PHP?

Richard.
0
 
LVL 7

Author Comment

by:weikelbob
ID: 12289860
I don't think I can just add a link to the html because of the first line of the form is:

<form method=post action="http://us.2.p2.webhosting.yahoo.com/forms?login=weikelbob">              

and it automatically makes up it's own form response page.

Bob                        
0
 
LVL 3

Expert Comment

by:thecode101
ID: 12290901
Just add the code provided by Richard outside of the <form></form> tags and it won't interfere with the form.
0
 
LVL 7

Author Comment

by:weikelbob
ID: 12291217
I've done that, but then it shows up on the form page and not on the form response page.

Bob
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 3

Expert Comment

by:thecode101
ID: 12291339
If I understand it correctly, the form response page is automatically generated by yahoo? In this case you wouldn't be able to edit the form response page.
0
 
LVL 7

Author Comment

by:weikelbob
ID: 12291471
Then do you know an appication that will do the whole form and form response page, an application that is
100% free with no linkback required?

I don't really want to use PHP, but I will if necessary.

Thank you,
Bob
0
 
LVL 7

Author Comment

by:weikelbob
ID: 12292500
Upped the question to 500 points, Please help me out with this.
0
 
LVL 40

Accepted Solution

by:
RQuadling earned 500 total points
ID: 12295286
Do you know if Yahoo supports PHP?

I doubt it. I doubt it would support anything other than the things it provided.

But.

You MAY find that you are able to pass a hidden value to the form which is the "Thank you" or "You made a mistake" page? What documentation exists for the form?

Another way is to drop Yahoo and get your own domain/site running. Make sure the hoster provide PHP support and you can do pretty much whatever you want with a LOT less restrictions (normally).

I use www.hosttoday.co.uk (don't worry about it being a .co.uk).

Get a site running there and then buy your own domain name and send it to the site.

Easy.

In fact, hosttoday will do all this for you.

Richard.
0
 
LVL 2

Expert Comment

by:GPFGSantos
ID: 12333474
I believe the solution is quite simple... Have this code inserted into your page:

<form method=post action="http://us.2.p2.webhosting.yahoo.com/forms?login=weikelbob" target="new" onsubmit="window.location='http://www.your-website.com/response.***'">                                      
               <p style="text-align: left"><font face="Arial" size="2">Send me
                    an e-mail by filling out the contact form below. If you would
                    like to talk on the phone, include your phone number with your
                    comments and I can call you back.</font></p>
                    <p style="text-align: left"><font size="2" face="Arial">Your Name:&nbsp;</font>
               <input type="text" name="name" size="42"></p>
               <p style="text-align: left"><font face="Arial" size="2">Your e-mail:&nbsp;</font>
                <input type="text" name="email" size="42"></p>
               <p style="text-align: left"><span style="vertical-align: top">
                <font face="Arial"><font size="2">Comments:</font> </font></span>&nbsp;<textarea rows="7" name="message" cols="41"></textarea></p>
               <p style="text-align: left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
               <input type="submit" value="Submit" name="Your Submission: ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
               <input type="reset" value="Reset" name="B2"></p>
          </form>

What you are doing here is popping up a new window, which will submit your form. You should ask the user to close this window, since it doesn't interest him. ATTENTION: You must warn users who have popup blockers to disable them temporarily!

Remember to change the "http://www.your-website.com/response.***" ;)

Hope this solves your problem...
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now