Lounge - Form/Confirmation Page in Frontpage 2003

Asked By Anna on 19-Feb-11 08:19 PM
I am using Frontpage 2003 to create a webpage with a fairly simple form.  It requests First and Last name from the user, their phone number, email address and a comment.  The host server is Yahoo.com.  I have another site with similar form and the form works.  By works I mean that once the user presses the submit button, a new page opens and thanks the user for their comment and provides a link to get back to our home page.  This new page (in a different website) isn't working.  It sends the email just fine, but does not open the page I've designed to thank the user.  It opens a blank page with the data that is being collected.

I've copied the form and confirmation page code from one site to the other, changing the server information that Yahoo requires for this to work.

I've deactivated the Frontpage extensions and then reinstalled them, but it still doesn't work.

I'm at my wits end as I've spent nearly two days trying to get this to work.

Can someone help?

The page is http://fairfieldmitsubishict.com/ContactUs/index-2.html.

Any assistance would be greatly appreciated.
James Murray replied to Anna on 20-Feb-11 01:01 PM
Hello Anna,

Your form action is fishy.

While viewing the source code at the site you provided I found this:
<form action="http://us.1.p8.webhosting.yahoo.com/forms?login=fairfieldmitsubishict"&confirm="../ContactUs/ConfirmPage.html" method="POST" name="Contact">
You can't have additional "quotations" inside your form action.

So essentially your form is trying to post to
http://us.1.p8.webhosting.yahoo.com/forms?login=fairfieldmitsubishict
Take out the link attributes and domain info from in your form action link. 
<form action="../ContactUs/ConfirmPage.html" method="POST" name="Contact">
I hope that helps,
Please reply if you have any further issues.
James
Anna replied to James Murray on 20-Feb-11 02:28 PM
James,

Thanks, but according to Yahoo:  "

Forms you create with FrontPage will not work the same way as Email Forms. Results and data will not automatically be sent to a specified email address. You will need to configure your form to publish the results to a page on your web site or (for advanced users only) send them to an email address you specify.

To configure your FrontPage form:

  1. Create a page in FrontPage and use the FrontPage Form Wizard to create a form.
  2. Right-click on the form and select "Form Properties."
  3. Select "Send to."
  4. In the "File Name:" field, enter the name of the page to which you want the form results published (such as formresults.htm).
  5. Click "OK," then "Save," and publish your form.

Now, when a visitor fills out the form, it will automatically save the results to the page you specified (http://yourdomain.com/formresults.htm), where you can review them."

They also say:

Advanced users can also modify the FrontPage form code to have the results sent to an email address.


To modify your FrontPage form, you will need to edit the HTML within FrontPage:

  1. Make sure you're signed in to your Web Hosting Control Panel.
  2. On the Create & Update tab, click "Add-Ons," then "Email Forms."
  3. Under "Step 1," copy the code provided.
  4. In the HTML of the page that contains the form, locate the following code:
    <form method="POST" action="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" U-File="......../_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
  5. Replace this code with the code you copied from the Email Forms page

The code you suggested that I remove is the coding that I got from the Web Hosting Control Panel.  I have basically the same coding in my other website http://www.mendelssohnchoir.com/Main/Audition/AuditionRequest/index.htm.  The only difference is the yahoo server on which the site resides.

Let me clarify that I do get the email, the problem is in having the user see the confirmation or thank you page,  not in getting the results to be sent via email.

Anna 
James Murray replied to Anna on 20-Feb-11 04:14 PM
Looking at the page that is working your form action is:
<form method=post action="http://us.1.p9.webhosting.yahoo.com/forms?login=mezzosopanna">
with that in mind then your dealership site should have a form action of

<form method=post action="http://us.1.p8.webhosting.yahoo.com/forms?login=fairfieldmitsubishict">

Which i see you've already done since the source has changed :)

The only thing else you'll need to probably change to match your setup at the choir site is that your hidden input for next_url is commented out.

<!-- Option 3
<input type="hidden" name="next_url" value="http://fairfieldmitsubishict.com/index.html">
-->

Remove the <!-- and --> around that input tag and replace the link for your confirmation page that tells the user "thank you for submitting your question".

Anna replied to James Murray on 20-Feb-11 04:37 PM
James,

My code now reads:

 <form method=post action="http://us.1.p8.webhosting.yahoo.com/forms?login=fairfieldmitsubishict">
<!-- Option 1 -->
<input type="hidden" name="subject" value="Questions or Comments">

<!-- Option 2 -->
<input type="hidden" name="required_fields" value="FirstName,LastName,Phone,email_addrs,Comments">

<!-- Option 3 -->
<input type="hidden" name="next_url" value="http://fairfieldmitsubishict.com/ConfirmPage.html">

However, when I test the form I don't  go to the next_url specified.   I get a blank page with the following:

The following form submission was sent.

subject = Questions or Comments
required_fields = FirstName,LastName,Phone,email_addrs,Comments
next_url = http://fairfieldmitsubishict.com/ConfirmPage.html
FirstName = Anna
LastName = Masson
Phone = 203-
email_addrs = mezzoanna
interest = New Car
Hear_About = Link from another site
Comments = test

I've tried this so many different ways and still I'm not getting the ConfirmPage coming back to me.  I'm at my wits end and have absolutely no idea what to do anymore, short of calling Yahoo.

Anna

James Murray replied to Anna on 20-Feb-11 05:39 PM
Hello Anna,

If you are doing it exactly that way then you should get the desired results you are looking for as seen in yahoos "how-to".

http://help.yahoo.com/l/us/yahoo/smallbusiness/webhosting/addons/forms/forms-03.html


However,

I still see this in your source code.

<form method=post action="http://us.1.p8.webhosting.yahoo.com/forms?login=fairfieldmitsubishict" &confirm="../ConfirmPage.html">
<!-- Option 1 -->
<input type="hidden" name="subject" value="Questions or Comments">
<!-- Option 2 -->
<input type="hidden" name="required_fields" value="FirstName,LastName,Phone,email_addrs,Comments">
<!-- Option 3 -->
<input type="hidden" name="next_url" value="http://fairfieldmitsubishict.com/ConfirmPage.html">
This is probably still boogering up your form.
Anna replied to James Murray on 20-Feb-11 06:53 PM

No, that can't be it as I'm still getting the same result with that section deleted.

I even checked by right clicking on the live site and selected view source and it reads:

<form method=post action="http://us.1.p8.webhosting.yahoo.com/forms?login=fairfieldmitsubishict">
<!-- Option 1 -->
<input type="hidden" name="subject" value="Questions or Comments">

<!-- Option 2 -->
<input type="hidden" name="required_fields" value="FirstName,LastName,Phone,email_addrs,Comments">

<!-- Option 3 -->
<input type="hidden" name="next_url" value="http://fairfieldmitsubishict.com/ConfirmPage.html">

<table width=474 border=0 cellspacing=10 cellpadding=0>
<tr><td valign=top align=right>
<font face=Arial style="font-size: 12px">
<b>Your First name:</b><br>
</font><span style="font-size: 12px">
<input type=text name="FirstName" size=35 style="font-size: 11px; font-family: Arial"></span>
</td>
<td valign=top align=left>
<font face=arial style="font-size: 12px">
<b>Your Last name:</b></font><br>
<font face="Arial"><span style="font-size: 12px">
<input type=text name="LastName" size=38 style="font-family: Arial; font-size: 11px"></span></font>
</td>
</tr>
<tr>
 <td valign=top align=right>
<font face=Arial style="font-size: 12px">
<b>Your Phone Number:</b><br>
</font>
<input type=text name="Phone" size=25>
</td>
<td valign=top align=left>
<font face=arial style="font-size: 12px">
<b>Your email address:</b></font><br>
<input type=text name="email_addrs" size=38 style="font-family: Arial; font-size: 11px">
</td>
</tr>
<tr>
<td colspan=2></td>
</tr>
<tr><td valign=top align=right>
<font face=arial style="font-size: 12px">
<b>What are you interested in?</b><br>
</font>
<font face=Arial style="font-size: 12px">
New</font><font face=arial size=-1><span style="font-size: 12px"><input type=radio name="interest" value="New Car"></span></font><font face=Arial style="font-size: 12px"> Used</font><font face="Arial" size="-1"><span style="font-size: 12px"><input type=radio name="interest" value="used car"></span></font><font face=Arial style="font-size: 12px">
</font>
</td>
<td valign=top>
<font face=Arial style="font-size: 12px">
<b>How did you hear about our site?</b><br>
</font>
<font face=arial size=-1>
<span style="font-size: 12px">
<input type=radio name="Hear About" value="A popular search engine"></span></font><font face=Arial style="font-size: 12px">A popular search engine<br>
</font>
<font face="Arial" size="-1"><span style="font-size: 12px">
<input type=radio name="Hear About" value="Link from another site"></span></font><font face=Arial style="font-size: 12px">Link from another site<br>
</font>
<font face=arial size=-1>
<font face="Arial"><span style="font-size: 12px">
<input type=radio name="Hear About" value="From a friend"></span></font><font face=Arial style="font-size: 12px">From a friend
</font>
</font>
</td>
</tr>
<tr>
<td colspan=2></td>
</tr>
<tr>
<td colspan=2 valign=top align=center>
<font face=arial style="font-size: 12px">
<b>If you have any comments or questions please add them below:
</b></font><br>
<textarea cols=76 rows=5 name="Comments" style="font-family: Arial; font-size: 11px"></textarea>
<p>
<input type="submit" value="Send" style="font-family: Arial; font-size: 11px">
<input type="reset" value="Clear the form" style="font-family: Arial; font-size: 11px">
</td>
</tr>
</table>
</form>


I'm really stumped!

Thanks for your suggestions and your time.  At least I am now sure that it is supposed to work as desired but doesn't.
Anna replied to James Murray on 20-Feb-11 08:36 PM
Contacted Yahoo, and the person to whom I spoke says that they don't support the next_url="xxxx.htm" any more.

They suggested using formConfirmPage="xxxx.htm" at the end of the <form action="post"......> line inside the >.

That doesn't work either and the guy I spoke to was not willing to help any further.

Ugh!
James Murray replied to Anna on 20-Feb-11 09:30 PM
Ahh I see what you were trying to do earlier.

Try using this:<form method=post action="http://us.1.p8.webhosting.yahoo.com/forms?login=fairfieldmitsubishict&confirm=ConfirmPage.html">
Make sure that ConfirmPage.html is in your http://fairfieldmitsubishict.com/ContactUs/ directory (folder) and not the root directory. 
Anna replied to James Murray on 20-Feb-11 09:44 PM
No, that doesn't work either.  I'll call Yahoo again tomorrow and perhaps will get someone who has more of an  interest in helping me.'

Anna
Anna replied to James Murray on 20-Feb-11 09:48 PM
I take that back, it does work!  Thanks so much!