The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Web Design
> HTML Programming
|
Can you find out why the confirmation form does not working properly?
Discuss Can you find out why the confirmation form does not working properly? in the HTML Programming forum on Dev Shed. Can you find out why the confirmation form does not working properly? HTML Programming forum covering discussions of HTML and XHTML, as well as HTML-related issues such as writing W3C Compliant code. Use HyperText Markup Language for building websites.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

May 13th, 2012, 06:42 AM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 4
Time spent in forums: 2 h 6 m 45 sec
Reputation Power: 0
|
|
|
Can you find out why the Feedback form gives a wrong output ?
Hi,
I am using Microsoft Expression Web 4
At: http://www.cypruspainters.net/feedback2.htm
after you complete any field and you enter the corfimation code correctly, you see the following information but missing your input (what you have written)!
Here is the HTML Code:
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 12.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>
<body>
<p>Confirmation</p>
<p><b>Thank you for submitting the following information: </b></p>
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%">
<tr>
<td width="14%" align="right"><b>MessageType:</b></td>
<td width="2%" align="right"> </td>
<td width="98%">
<!--webbot bot="ConfirmationField" S-Field="MessageType" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>Subject:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="Subject" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>Username:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="Username" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>UserEmail:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="UserEmail" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>UserTel:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="UserTel" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>UserFAX:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="UserFAX" --></td>
</tr>
<tr>
<td width="14%" align="right"> </td>
<td width="2%" align="right"> </td>
<td width="98%"> </td>
</tr>
</table>
</div>
<p> </p>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="left">
<tr>
<td width="50%"><b>Comments:</b></td>
<td width="50%"> </td>
</tr>
<tr>
<td width="100%" colspan="2">
<!--webbot bot="ConfirmationField" S-Field="Comments" --><p> </td>
</tr>
</table>
</center>
</div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><a href="javascript:history.go(-1)">Return to the Form</a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</body>
</html>
Why the Output result is not correct?:
When the user completes any of the contact form field, and after he puts the corfimation code correctly, the output result shows the following:
Confirmation
Thank you for submitting the following information:
MessageType: MessageType
Subject: Subject
Username: Username
UserEmail: UserEmail
UserTel: UserTel
UserFAX: UserFAX
Comments:
Comments
Return to the Form
What happens:
Unfortunately, the user cannot see the right result, neither his input and his comments!
Please help and advice how can I modify the Confirmation Form in order to receive the right results!
Thanks a lot!
|

May 14th, 2012, 11:07 PM
|
|
Registered User
|
|
Join Date: May 2012
Location: Bokaro Steel City, India
Posts: 4
Time spent in forums: 2 h 10 m 25 sec
Reputation Power: 0
|
|
|
Please provide the complete code!
|

May 15th, 2012, 07:30 PM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 4
Time spent in forums: 2 h 6 m 45 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by TheAliveWinner Please provide the complete code! |
Here is the complete code:
At: http:// www.cypruspainters.net/feedback2.htm
Code:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="CONTENT-LANGUAGE" content="EN">
<meta name="revisit-after" content="14 days">
<meta name="Generator" content="Microsoft FrontPage 12.0">
<meta name="robots" content="all">
<meta name="Author" content="George Ashiotis"><!-- MetaTags http://websitesubmit.hypermart.net/ --><!-- George Ashiotis is a self-taught artist who paints mostly abstract pictures to show the way his mind interprets an event or happening in his life. There is always a story behind each painting. -->
<title>
George Ashiotis Web Site
</title>
<meta name="keywords" content="Cyprus, painting, painters, cypruspainters, cypruspainting, cyprus painters,
cyprus painting, abstract art,abstract gallery,abstract painting,acrylic gallery,acrylic paint,acrylic painting,
agora gallery,apophasis,christoforos savva,contemporary art,cypriot artists,cypriot painters,cyprus painting,
cyprus artist,cyprus newspaper,cyprus weekly newspaper,fine art artists,fine art gallery,fine art painter,
fotini papadopoulou,georgeashiotis,greek painter,london abstract artist,london abstract gallery,
london abstract painting,london artists,london painting,politis newspaper,solon frangoulides,
abstract paintings,cyprus weekly,fine art painters,greek painters,london abstract artists,
london abstract galleries,abstract galleries,abstract artists,london abstract painting,
london abstract paintings,abstract painting,london abstract paintings,london paintings,Guggenheim Museum,
National Gallery of Art,Royal Albert Hall,Museums and Galleries in Prague,London Palladium ,
Arts,Kykkos Monastery Museum,The Fitzwilliam Museum,The Metropolitan Museun of Art,
The British Museum,London National Gallery,Nicosia Municipality,Athens School of Fine Arts,Gallery Kypriaki Gonia,
The Musee du Louvre,Nicosia Municipal Art Centre">
<meta name="description" content="George Ashiotis is a self-taught artist who paints mostly abstract pictures
to show the way his mind interprets an event or happening in his life.
There is always a story behind each painting.">
<style type="text/css">
.style1 {
text-decoration: underline;
}
.style2 {
text-decoration: none;
}
.style4 {
font-weight: normal;
}
.style5 {
text-align: justify;
}
.style6 {
margin-left: 0px;
}
.auto-style2 {
font-weight: bold;
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-29415026-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript" src="javascript/jquery.js,swfobject.js,infieldlabel.js,validationEngine.js,labelify.js,colorbox.js,date.js,datepicke r.js,aviaslider.js,javascript.js" language="javascript"></script>
</head>
<body background="_themes/pixel/pixbkgnd.gif" bgcolor="#FFFFFF" text="#000000" link="#6666CC" vlink="#999999" alink="#663333"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="1139">
<tr>
<td width="49" colspan="2" align="center">
<p style="margin-top: 0; margin-bottom: 0">
<a href="http://www.agora-gallery.com/"
target="_blank">
<img border="0" src="photogallery/logoForLinks2.gif" hspace="3" width="125" height="78"></a></p>
</td>
<td align="center" width="1023"><p style="margin-top: 0; margin-bottom: 0">
<img border="0" src="HEADERS/feedback2.gif" width="621" height="60"></td>
</tr>
<tr>
<td width="882" colspan="3" style="border-bottom-style: none; border-bottom-width: medium">
<p style="margin-top: 0; margin-bottom: 0"></td>
</tr>
</table><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="border-bottom-style: solid; border-bottom-width: 1" align="right">
<h4 style="margin-top: 0; margin-bottom: 0"> </h4>
</td>
</tr>
</table><table border="0" cellpadding="0" cellspacing="0" height="78">
<tr>
<td valign="top" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="132">
<p style="margin-top: 0; margin-bottom: 0">
<!--webbot b-include-home="TRUE" b-include-up="TRUE" bot="Navigation" s-orientation="vertical" s-rendering="graphics" s-theme="nature 100" s-type="siblings" --></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p><br> </p>
<p> </p>
</td>
<td style="border-style: none; border-width: medium; width: 20;" valign="top">
<p style="height: 19px; width: 10px"></p>
</td>
<td height="100%" style="border-style: none; border-width: medium" valign="top">
<h3 align="justify" style="margin-top: 0; margin-bottom: 0">
<font color="#FF0000" face="Book Antiqua" size="3">Tell me what you think
about my website. I welcome all of your comments and your suggestions.</font></h3>
<h1><b><b><b><b><b><b><b><b><b><b><b><b><b><b><b><b>Contact Us:</b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></b></h1>
<form method="post" action="test.mf">
Your Name:<br />
<input type="text" name="Name" value="" /><br /><br />
Email:<br />
<input type="text" name="Email" value="" /><br /><br />
Comments:<br />
<textarea name="Comments" cols="40" rows="10"></textarea><br /><br />
<!--Start Optional Captcha-->
<script type="text/javascript"
src="http://api.recaptcha.net/challenge?k=6LfxMwYAAAAAAM8fEdeJUlJzGmueIL9-gDhnUdpo ">
</script>
<br>
<noscript>
<iframe src="http://api.recaptcha.net/noscript?k=6LfxMwYAAAAAAM8fEdeJUlJzGmueIL9-gDhnUdpo "
height="300" width="500" frameborder="0"></iframe><br>
<textarea name="recaptcha_challenge_field" rows="3" cols="40">
</textarea>
<input type="hidden" name="recaptcha_response_field"
value="manual_challenge">
</noscript>
<!--End Optional Captcha-->
<input type="submit" value="Submit Form" />
</form>
</td>
</tr>
</table>
<p style="margin-top: 0; margin-bottom: 0">
<a href="index.htm">
<img border="0" src="images/Press/home3.gif" width="40" height="40" align="right"></a></p>
<p class="MsoNormal" align="left" style="margin-top: 0; margin-bottom: 0"> </p>
<p class="MsoNormal" align="left" style="margin-top: 0; margin-bottom: 0"> </p>
<table border="0" cellpadding="0" cellspacing="0" width="746" height="0%" style="border-collapse: collapse">
<tr>
<td valign="baseline" width="746">
<p align="right" style="margin-top: 0; margin-bottom: 0">
<a href="Links.htm">
<img border="0" src="images/Press/back.gif" width="47" height="29"></a><a href="feedback2.htm"><img border="0" src="images/Press/top.gif" width="40" height="29"></a></td>
</tr>
</table></body>
</html>
At: http:// www.cypruspainters.net/confirm.htm
Code:
HTML Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 12.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>
<body>
<p>Confirmation</p>
<p><b>Thank you for submitting the following information: </b></p>
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%">
<tr>
<td width="14%" align="right"><b>MessageType:</b></td>
<td width="2%" align="right"> </td>
<td width="98%">
<!--webbot bot="ConfirmationField" S-Field="MessageType" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>Subject:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="Subject" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>Username:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="Username" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>UserEmail:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="UserEmail" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>UserTel:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="UserTel" --></td>
</tr>
<tr>
<td width="14%" align="right"><b>UserFAX:</b></td>
<td width="2%" align="right"> </td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="UserFAX" --></td>
</tr>
<tr>
<td width="14%" align="right"> </td>
<td width="2%" align="right"> </td>
<td width="98%"> </td>
</tr>
</table>
</div>
<p> </p>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" align="left">
<tr>
<td width="50%"><b>Comments:</b></td>
<td width="50%"> </td>
</tr>
<tr>
<td width="100%" colspan="2">
<!--webbot bot="ConfirmationField" S-Field="Comments" --><p> </td>
</tr>
</table>
</center>
</div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><a href="javascript:history.go(-1)">Return to the Form</a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</body>
</html>
At: http://www.cypruspainters.net/test.mf
Code:
HTML Code:
@from=The Website <webform@example.net>
@to=George Ashiotis <georgeashiotis[at yahoo]>
@to=george@example.net
@subject=Website Message From %name%
@redirPage=confirm.html
@recaptchaFailPage=recaptchafail.html
@body=
<html>
<body>
Hello,<br />
<br />
You have a message from a visitor (<strong>%name%</strong>) on your website:<br />
%FORM_DATA%
<br />
Thanks,<br />
Your Website<br />
</body>
</html>
At: http://cypruspainters.net/recaptchafail.html
Code:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="CONTENT-LANGUAGE" content="EN">
<meta name="revisit-after" content="14 days">
<meta name="Generator" content="Microsoft FrontPage 12.0">
<meta name="robots" content="all">
<meta name="Author" content="George Ashiotis"><!-- MetaTags http://websitesubmit.hypermart.net/ --><!-- George Ashiotis is a self-taught artist who paints mostly abstract pictures to show the way his mind interprets an event or happening in his life. There is always a story behind each painting. -->
<title>
George Ashiotis Web Site
</title>
<meta name="keywords" content="Cyprus, painting, painters, cypruspainters, cypruspainting, cyprus painters,
cyprus painting, abstract art,abstract gallery,abstract painting,acrylic gallery,acrylic paint,acrylic painting,
agora gallery,apophasis,christoforos savva,contemporary art,cypriot artists,cypriot painters,cyprus painting,
cyprus artist,cyprus newspaper,cyprus weekly newspaper,fine art artists,fine art gallery,fine art painter,
fotini papadopoulou,georgeashiotis,greek painter,london abstract artist,london abstract gallery,
london abstract painting,london artists,london painting,politis newspaper,solon frangoulides,
abstract paintings,cyprus weekly,fine art painters,greek painters,london abstract artists,
london abstract galleries,abstract galleries,abstract artists,london abstract painting,
london abstract paintings,abstract painting,london abstract paintings,london paintings,Guggenheim Museum,
National Gallery of Art,Royal Albert Hall,Museums and Galleries in Prague,London Palladium ,
Arts,Kykkos Monastery Museum,The Fitzwilliam Museum,The Metropolitan Museun of Art,
The British Museum,London National Gallery,Nicosia Municipality,Athens School of Fine Arts,Gallery Kypriaki Gonia,
The Musee du Louvre,Nicosia Municipal Art Centre">
<meta name="description" content="George Ashiotis is a self-taught artist who paints mostly abstract pictures
to show the way his mind interprets an event or happening in his life.
There is always a story behind each painting.">
<style type="text/css">
.style1 {
text-decoration: underline;
}
.style2 {
text-decoration: none;
}
.style4 {
font-weight: normal;
}
.style5 {
text-align: justify;
}
.style6 {
margin-left: 0px;
}
.auto-style4 {
text-align: center;
color: #FF0000;
font-size: x-large;
}
.auto-style6 {
text-align: center;
color: #FF0000;
font-family: Arial, Helvetica, sans-serif;
font-size: medium;
}
.auto-style7 {
text-align: center;
color: #FF0000;
font-family: "Times New Roman", Times, serif;
font-size: medium;
}
.auto-style8 {
color: #0000FF;
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-29415026-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body background="_themes/pixel/pixbkgnd.gif" bgcolor="#FFFFFF" text="#000000" link="#6666CC" vlink="#999999" alink="#663333">
<p class="auto-style6"> </p>
<p class="auto-style6"><strong>ERROR! You need to enter the confimation code
correctly</strong></p>
<p class="auto-style4"> </p>
<p class="auto-style4">
<img alt="" height="266" src="Captcha%20photo/error.png" width="369"></p>
<p class="auto-style4"> </p>
<p class="auto-style7"><a href="javascript:history.go(-1)"><strong>
<span class="auto-style8">Return to
the Form</span></strong></a></p>
<p class="auto-style4"> </p>
</body>
</html>
Please help!
Thanks
Last edited by Kravvitz : May 24th, 2012 at 09:34 PM.
Reason: obfuscated the email addresses
|

May 19th, 2012, 12:22 PM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 4
Time spent in forums: 2 h 6 m 45 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by TheAliveWinner Please provide the complete code! |
Pls see my reply!
|

May 20th, 2012, 05:55 PM
|
|
buildmyweb.org
|
|
Join Date: May 2012
Location: NY
|
|
|
what about code handling the form data?
|

May 24th, 2012, 06:43 PM
|
|
Registered User
|
|
Join Date: May 2012
Posts: 4
Time spent in forums: 2 h 6 m 45 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by BuildMyWeb what about code handling the form data? |
Hi,
All I know from my provider is here:
[IMG]I am sorry but I couldn't upload the images here![/IMG]
At cypruspainters.net/MiskMailFormPictures/MiskMailForm0001.jpg
At cypruspainters.net/MiskMailFormPictures/MiskMailForm0002.jpg
At cypruspainters.net/MiskMailFormPictures/MiskMailForm0003.jpg
Thanks
|

May 27th, 2012, 07:16 PM
|
|
buildmyweb.org
|
|
Join Date: May 2012
Location: NY
|
|
|
you are showing HTML code. that is the "front-end". the form itself. there also has to be a script to handle the submitted data. that is where the problem lies. if you dont show what you have there, in that form handler script file, it is pretty difficult to help you.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|