forms & confirmation page not working

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Well, I've set up two forms on my website to send feedback via e-mail to me,
and neither are working. I originally had them set up to go to my gmail
account, but after reading through some of the posts here I switched them to
my domain-based e-mail account. However, they are still not working.

Furthermore, my confirmation page is not loading. I know it has succesfully
uploaded to the site, but when I submit the form I get a 404 page.

I can't tell if this is something I'm doing wrong or something I need to
take up with my host company. The website is www.stacyreeves.com and the
"contact" and "pricing" pages are the ones with the forms. Any suggestions
would be appreciated!
 
Have you had your host set up the forms to email transport in the FP server
extensions?
 
I'm pretty sure. I'm using GoDaddy.com, and their tech support site says
that their FrontPage extensions allow you to set up a form that will e-mail
you the results.

Tom [Pepper] Willett said:
Have you had your host set up the forms to email transport in the FP server
extensions?
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
Stacy said:
Well, I've set up two forms on my website to send feedback via e-mail to
me,
and neither are working. I originally had them set up to go to my gmail
account, but after reading through some of the posts here I switched them
to
my domain-based e-mail account. However, they are still not working.

Furthermore, my confirmation page is not loading. I know it has
succesfully
uploaded to the site, but when I submit the form I get a 404 page.

I can't tell if this is something I'm doing wrong or something I need to
take up with my host company. The website is www.stacyreeves.com and the
"contact" and "pricing" pages are the ones with the forms. Any
suggestions
would be appreciated!
 
Dear Stacy,
Forget FrontPage components. They are moody, proprietary, cumbersome, and
not very flexible. Here is your form to email code:
-----------------------------------------

<form action="mailto:[email protected]" method="post"
enctype="text/plain">
<input type="hidden" name="redirect" value="rightframe_thanks.htm">
<p><font face="Garamond" color="#FFFFFF">
Name: <input type="text" name="name" size="32">
</font></p>
<p><font face="Garamond" color="#FFFFFF">
E-Mail: <input type="text" name="email" size="31">
</font></p>
<p><font face="Garamond" color="#FFFFFF">
Comments: <br>
<textarea rows="10" name="comments" cols="32"></textarea></font></p>
<p><font face="Garamond" color="#FFFFFF">
<input type="reset" value="Reset" name="reset">
<input type="submit" value="Submit" name="submit">
</font></p>
</form>

------------------------------------
By the way, I am not a big fan of that frame set-up you use; it is almost
unreadable at 640x480 and very confusing at 800x600. I like your look, but
I'd consider a redesign of that frame baloney - Search engines will surely
parse, for example, http://www.stacyreeves.com/rightframe_contact.htm -
http://www.stacyreeves.com/topframe.htm -
http://www.stacyreeves.com/leftframe.htm (try clicking those links) and
anyone who goes to those links is lost. Frames out of their framing pages
need more scripting (see how complex this is getting?) - you might want to,
say, put this in the head of every framed page (except, of course,
rightframe_thanks.htm, for obvious reasons):
------------------------------------

<script>
if (parent.location.href == self.location.href){
window.location.href = 'http://www.stacyreeves.com'
}
</script>
 
Thanks, Nicholas! I will add in that script. I know just very basic HTML,
so I'm trying to get up to speed as best I can. The website layout is very
temporary.. A no-frames version is coming soon and hopefully someday a Flash
version, if I can ever figure it out. Anyway, thanks for the help!
 
Nicholas said:
Dear Stacy,
Forget FrontPage components. They are moody, proprietary, cumbersome,
and not very flexible. Here is your form to email code:

I agree with Nicholas.

But I find that even his code does some strange things.
It adds +++ into the text and diaplays a warning message

You could try this
</html>
<head>
<script type="text/javascript"></script>
function sendform()
{
var body = ""
with (document.form1)
{
var i = elements.length , j = 0
while (i-- > 2) // drop last two elements
{
body += elements[j].value + "%0d%0a"
// line break after each element
j += 1
} // end while
}
window.location = "mailto:" + "myname" + "@" + "mydomain" + ".com"
+ "?subject=Hello%20from%20Me"
+ "&body=" + body
}
</script>
</head>
<body>

<form action = "" name="form1">
<p><font face="Garamond" color="#FFFFFF">

Name: <input type="text" name="name" size="32"><br />
E-Mail: <input type="text" name="email" size="31"><br />
Comments: <br/ >
<textarea rows="10" name="comments" cols="32"></textarea><br />

<input type="reset" value=" Reset " name="reset">
<input type="button" name="submit" value=" Submit " onclick="sendform()" />

</font></p>
</form>

</body>
</html>
 
I am Trevor's biggest fan. His is, indeed, a better answer.
It just lacks the little feature I was trying to convey in the first place,
before the room started spinning wildly (the redirect issue, remember?):

<input type="hidden" name="redirect" value="rightframe_thanks.htm">

Include that, and you are all set.
--
Nicholas Savalas
http://savalas.tv
---------------------------------
Trevor L. said:
Nicholas said:
Dear Stacy,
Forget FrontPage components. They are moody, proprietary, cumbersome,
and not very flexible. Here is your form to email code:

I agree with Nicholas.

But I find that even his code does some strange things.
It adds +++ into the text and diaplays a warning message

You could try this
</html>
<head>
<script type="text/javascript"></script>
function sendform()
{
var body = ""
with (document.form1)
{
var i = elements.length , j = 0
while (i-- > 2) // drop last two elements
{
body += elements[j].value + "%0d%0a"
// line break after each element
j += 1
} // end while
}
window.location = "mailto:" + "myname" + "@" + "mydomain" + ".com"
+ "?subject=Hello%20from%20Me"
+ "&body=" + body
}
</script>
</head>
<body>

<form action = "" name="form1">
<p><font face="Garamond" color="#FFFFFF">

Name: <input type="text" name="name" size="32"><br />
E-Mail: <input type="text" name="email" size="31"><br />
Comments: <br/ >
<textarea rows="10" name="comments" cols="32"></textarea><br />

<input type="reset" value=" Reset " name="reset">
<input type="button" name="submit" value=" Submit " onclick="sendform()"
/>

</font></p>
</form>

</body>
</html>
 
Nicholas said:
I am Trevor's biggest fan. His is, indeed, a better answer.
It just lacks the little feature I was trying to convey in the first
place, before the room started spinning wildly (the redirect issue,
remember?):
<input type="hidden" name="redirect" value="rightframe_thanks.htm">

Include that, and you are all set.

My biggest fan is a bit too much.You have given me more help than the other
way around.

Anyway, apologies for omitting the crucial part. I was concentrating on how
to write a form to an email, because it is something I have been doing
lately. And in my cobbling together a response via cut and paste, I left
this out.

Gives himself smack on hand
 
Back
Top