PDA

View Full Version : the submit button doesn't give any result



neroman
03-19-2012, 01:02 PM
Something goes wrong:

I created two types of forms but the submit button doesn't give any result.

The reason of that creation located at: http://www.cypruspainters.net/resources.html



Type 1.
http://www.cypruspainters.net/resources/accommodation/addurl.html

Type 2.
http://www.cypruspainters.net/resources/addurl.html

Please help!

traq
03-19-2012, 03:10 PM
Your question is unclear.
Please provide more information, and be as specific as possible.
What do you want to accomplish? What have you already tried? What problems did you encounter?
Also, please be sure that you have included all relevant code and/or a link to the page in question.
The submit button seems to work just fine - it triggers the javascript validation, and it submits the form. (The processing page returns a 404 error, but that's not a problem with the submit button.)

What, exactly, is your problem?

neroman
03-19-2012, 04:33 PM
Your question is unclear.
Please provide more information, and be as specific as possible.
What do you want to accomplish? What have you already tried? What problems did you encounter?
Also, please be sure that you have included all relevant code and/or a link to the page in question.
The submit button seems to work just fine - it triggers the javascript validation, and it submits the form. (The processing page returns a 404 error, but that's not a problem with the submit button.)

What, exactly, is your problem?

Thanks for your reply:

My website is related about painting. So I created a painter's website under: www.cypruspainters.net

In order to increase my website ranking, I created a sub page through a list of categories under www.cypruspainters.net/resources.html in order to enable visitors to add their website to www.cypruspainters.net/resources.html page after sending their website's weblink to my email address. Then, after my approval I can include their website under the proper category in my list.

As a result, the visitor by choosing the related category he will be able to submit his/her website as follows:

For instance, the user/visitor must select the Accommodation link at: http://cypruspainters.net/resources.html

Then the user/visitor must press: Submit your website at:
http://www.cypruspainters.net/resources/accommodation.html

And finally, the user/visitor must complete the form at http://www.cypruspainters.net/resources/accommodation/addurl.html

In my case, the problem is when the user reach the last step. When the user completes the form and completes all fields, then it gets an error at: http://www.cypruspainters.net/resources/accommodation/resource.php?a=addurl

Questions/Problems:

1. How could I resolve this error? What changes I should proceed in order to inform the user that: Suggested Website Submitted Successfully.


2. Also, when the user does not fill one of those field, a message does not appear next to uncompleted form in order to warn the user that * This field is required.


Here is the code under the accommodation category:




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type" />
<title>artsaddurl</title>
<style type="text/css">
.auto-style1 {
text-align: center;
}
.auto-style2 {
font-size: x-large;
}
</style>
</head>

<body>



<h1 class="auto-style2" style="height: 0px">Submit URL</h1><div class="greenbox_bground">
<table width="100%" style="height:13px;" border="0" cellspacing="0" cellpadding="0"><tr><td><script language="javascript" type="text/javascript" src="../javascript/captcha.js"></script>
<script language="javascript" type="text/javascript">
<!--
function checkForm(form) {

var form = document.forms['form'];

if (form.name.value=='') {
alert('Please type in a link title!');
form.name.focus();
return false;
}
if (form.url.value=='') {
alert('Please type in a link url!');
form.url.focus();
return false;
}
if (form.reciprocalurl.value=='') {
alert('Please type in a reciprocal link url!');
form.reciprocalurl.focus();
return false;
}

form.action = 'resource.php?a=addurl';
form.submit();
}
// -->
</script>

<form name="form" id="form" method="post">
<input type="hidden" name="mode" value="submit" />
<p>
<label>Category</label>
<select name="resourcecategoryid">
<option value="33" >Accommodation</option><option value="16" >Apartments
Resources</option><option value="15" >Arts</option>
<option value="31" >Automotive</option><option value="12" >
Business</option><option value="23" >Business Directories</option><option value="25" >
Car hire</option><option value="40" >Car sales</option><option value="18" >
Education and Training</option><option value="24" >holidays abroad</option><option value="10" >
Home &amp; Garden</option><option value="19" >Hotels and Resorts</option><option value="28" >
Internet Services</option><option value="30" >Other</option><option value="36" >
Other 1</option><option value="21" >Real Estate</option><option value="37" >
Real Estate 1</option><option value="22" >Services</option><option value="39" >
Software</option><option value="27" >Sport and Recreation</option><option value="14" >
Travel</option><option value="29" >Vacation Rentals</option><option value="32" >
Villas</option><option value="13" >Web Design and Internet</option><option value="26" >
Web Directories</option><option value="35" >Web Directories 1</option><option value="38" >
Web Directories 2</option><option value="11" >Weddings</option> </select>
</p>
<p>
<label>Title</label>
<input type="text" name="name" value="" size="40" />
</p>
<p>
<label>Email</label>
<input type="text" name="email" value="" size="40" />
</p>
<p>
<label>Link(URL)</label>
<input type="text" name="url" value="" size="40" />
</p>
<p>
<label>Description </label>
<textarea rows="3" cols="31" name="description" ></textarea>
</p>
<p>
<label>Reciprocal URL</label>
<input type="text" name="reciprocalurl" value="" size="40" />
</p>
<p>
<label></label><img src="http://www.cypruspainters.net/captcha/freecap.php" id="freecap" alt="" /><br />
<label></label>If you can't read the confirmation code, <a onclick="this.blur();new_freecap();return false;" href="#">
click here</a>
</p>
<p>
<label>Confirmation code</label><input type="text" name="word" />
</p>
<p>
<label></label>
<input type="button" class="button" value="Submit " onclick="checkForm();" style="width:100px; margin-left:178px;" />
</p>
</form>

Please use the following details to include us on your web site.<br/>
<br/>
<strong>Title: </strong>George Ashiotis is a self-taught artist.<br/>
<strong>Description: </strong>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.<br/>
<strong>URL: </strong> http://www.cypruspainters.net<br/>
</td></tr></table>



<div class="auto-style1">
<!--content_layout-->
<td class="content_right">&nbsp;</td>

<tr>
<td valign="top" class="footer">&nbsp;</td>
<td valign="top" class="sidebox_layout_fix">&nbsp;</td>
<td valign="top" class="footer"><a href="/../../../../../../">home</a> | <a href="/recentnew.htm">recent</a> | <a href="/photo.htm">paintings</a> | <a href="/Links.htm">links</a> | <a href="/feedback2.htm">feedback</a> | <a href="/resources.html">resources</a> | <a href="/resources/addurl.html">add URL</a><br />Copyright 2006 by Antonis Ashiotis. All rights reserved</a>.</td><td valign="top" class="footer"></div>





</body>

</html>

traq
03-19-2012, 06:42 PM
In my case, the problem is when the user reach the last step. When the user completes the form and completes all fields, then it gets an error at: http://www.cypruspainters.net/resources/accommodation/resource.php?a=addurl
[ ... ]

Also, when the user does not fill one of those field, a message does not appear next to uncompleted form in order to warn the user that * This field is required.

these two issues have nothing to do with the submit button.

1. There is no page at cypruspainters.net/resources/accommodation/resource.php. Maybe you made a typo in the URL?

2. Your javascript only includes validation for the "name", "url", and "reciprocalurl" fields:

function checkForm(form) {

var form = document.forms['form'];

if (form.name.value=='') {
alert('Please type in a link title!');
form.name.focus();
return false;
}
if (form.url.value=='') {
alert('Please type in a link url!');
form.url.focus();
return false;
}
if (form.reciprocalurl.value=='') {
alert('Please type in a reciprocal link url!');
form.reciprocalurl.focus();
return false;
}

form.action = 'resource.php?a=addurl';
form.submit();
}you'd need to add lines if you wanted to process the other fields or add other messages.

neroman
03-19-2012, 08:52 PM
these two issues have nothing to do with the submit button.

1. There is no page at cypruspainters.net/resources/accommodation/resource.php. Maybe you made a typo in the URL?

2. Your javascript only includes validation for the "name", "url", and "reciprocalurl" fields:

function checkForm(form) {

var form = document.forms['form'];

if (form.name.value=='') {
alert('Please type in a link title!');
form.name.focus();
return false;
}
if (form.url.value=='') {
alert('Please type in a link url!');
form.url.focus();
return false;
}
if (form.reciprocalurl.value=='') {
alert('Please type in a reciprocal link url!');
form.reciprocalurl.focus();
return false;
}

form.action = 'resource.php?a=addurl';
form.submit();
}you'd need to add lines if you wanted to process the other fields or add other messages.





Thanks man for your help!

I am freshman on this but I fight for it in order to learn....

I have created cypruspainters.net/resources/accommodation/resource.php and I also add more lines:





var form = document.forms['form'];

if (form.name.value=='') {
alert('Please type in a link title!');
form.name.focus();
return false;
}
if (form.email.value=='') {
alert('Please type in a link email!');
form.url.focus();
return false;
}
if (form.url.value=='') {
alert('Please type in a link url!');
form.url.focus();
return false;
}
if (form.description.value=='') {
alert('Please type in a description!');
form.reciprocalurl.focus();
return false;
}
if (form.reciprocalurl.value=='') {
alert('Please type in a reciprocal link url!');
form.reciprocalurl.focus();
return false;
}

form.action = 'resource.php?a=addurl';
form.submit();
}



But still something goes wrong:

How can I set my email in order to receive feedback (users' input) for what they have written into the empty fields of the forms ?

traq
03-19-2012, 11:24 PM
Well, as you pointed out, your form submits to the page cypruspainters.net/resources/accommodation/resource.php.

As I pointed out, that page does not exist.

There may be a typo in the URL, or you may have not uploaded it to the proper location. I would have no way of knowing. If you post the contents of that script, we can check to see if it is configured to send the form results to your email address.

neroman
03-20-2012, 10:08 AM
Well, as you pointed out, your form submits to the page cypruspainters.net/resources/accommodation/resource.php.

As I pointed out, that page does not exist.

There may be a typo in the URL, or you may have not uploaded it to the proper location. I would have no way of knowing. If you post the contents of that script, we can check to see if it is configured to send the form results to your email address.
__________________
-Adrian
i design your custom anything * follow on facebook





Hi and thanks for your time!

It is a bit strange because I see my weblink page locally and remotely at: www.cypruspainters.net/resources/accommodation/resource.php (http://cypruspainters.net/resources/accommodation/resource.php)

Below is the weblink code:
resource.php




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type" />
<title>accommodationresource</title>
<style type="text/css">
.auto-style1 {
text-align: center;
}
.auto-style2 {
font-size: x-large;
}
</style>
</head>

<body>



<h1 class="auto-style2" style="height: 0px">Submit URL</h1><div class="greenbox_bground">
<table width="100%" style="height:13px;" border="0" cellspacing="0" cellpadding="0"><tr><td><script language="javascript" type="text/javascript" src="../javascript/captcha.js"></script>
<script language="javascript" type="text/javascript">
<!--
function checkForm(form) {

var form = document.forms['form'];

if (form.name.value=='') {
alert('Please type in a link title!');
form.name.focus();
return false;


}
if (form.email.value=='') {
alert('Please type in a link email!');
form.url.focus();
return false;



}
if (form.url.value=='') {
alert('Please type in a link url!');
form.url.focus();
return false;


}
if (form.description.value=='') {
alert('Please type in a description!');
form.reciprocalurl.focus();
return false;

}
if (form.reciprocalurl.value=='') {
alert('Please type in a reciprocal link url!');
form.reciprocalurl.focus();
return false;

}

form.action = 'resource.php?a=addurl';
form.submit();
}
// -->
</script>

<form name="form" id="form" method="post">
<input type="hidden" name="mode" value="submit" />
<p>
<label>Category</label>
<select name="resourcecategoryid">
<option value="33" >Accommodation</option><option value="16" >Apartments
Resources</option><option value="15" >Arts</option>
<option value="31" >Automotive</option><option value="12" >
Business</option><option value="23" >Business Directories</option><option value="25" >
Car hire</option><option value="40" >Car sales</option><option value="18" >
Education and Training</option><option value="24" >holidays abroad</option><option value="10" >
Home &amp; Garden</option><option value="19" >Hotels and Resorts</option><option value="28" >
Internet Services</option><option value="30" >Other</option><option value="36" >
Other 1</option><option value="21" >Real Estate</option><option value="37" >
Real Estate 1</option><option value="22" >Services</option><option value="39" >
Software</option><option value="27" >Sport and Recreation</option><option value="14" >
Travel</option><option value="29" >Vacation Rentals</option><option value="32" >
Villas</option><option value="13" >Web Design and Internet</option><option value="26" >
Web Directories</option><option value="35" >Web Directories 1</option><option value="38" >
Web Directories 2</option><option value="11" >Weddings</option> </select>
</p>
<p>
<label>Title</label>
<input type="text" name="name" value="" size="40" />
</p>
<p>
<label>Email</label>
<input type="text" name="email" value="" size="40" />
</p>
<p>
<label>Link(URL)</label>
<input type="text" name="url" value="" size="40" />
</p>
<p>
<label>Description </label>
<textarea rows="3" cols="31" name="description" ></textarea>
</p>
<p>
<label>Reciprocal URL</label>
<input type="text" name="reciprocalurl" value="" size="40" />
</p>
<p>


<label></label><img src="http://www.ideahomefinder.com/captcha/freecap.php" id="freecap" /><br />
<label></label>If you can't read the confirmation code, <A onclick="this.blur();new_freecap();return false;" href="#">click here</A>
</p>
<p>
<label>Confirmation code</label><input type="text" name="word">
</p>
<p>
<label></label>
<input type="button" class="button" value=" Submit " onClick="checkForm();">
</p>
</form>

Please use the following details to include us on your web site.<br/>
<br/>
<strong>Title: </strong>George Ashiotis is a self-taught artist.<br/>
<strong>Description: </strong>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.<br/>
<strong>URL: </strong> http://www.cypruspainters.net<br/>
</td></tr></table>



<div class="auto-style1">
<!--content_layout-->
<td class="content_right">&nbsp;</td>

<tr>
<td valign="top" class="footer">&nbsp;</td>
<td valign="top" class="sidebox_layout_fix">&nbsp;</td>
<td valign="top" class="footer"><a href="/../../../../../../">home</a> | <a href="/recentnew.htm">recent</a> | <a href="/photo.htm">paintings</a> | <a href="/Links.htm">links</a> | <a href="/feedback2.htm">feedback</a> | <a href="/resources.html">resources</a> | <a href="/resources/addurl.html">add URL</a><br />Copyright 2006 by Antonis Ashiotis. All rights reserved</a>.</td><td valign="top" class="footer"></div>


</body>

</html>





Here is a sub link page of the above code:

http://cypruspainters.net/javascript/captcha.js

captcha.js




function new_freecap()
{
// loads new freeCap image
if(document.getElementById)
{
// extract image name from image source (i.e. cut off ?randomness)
thesrc = document.getElementById("freecap").src;
thesrc = thesrc.substring(0,thesrc.lastIndexOf(".")+4);
// add ?(random) to prevent browser/isp caching
document.getElementById("freecap").src = thesrc+"?"+Math.round(Math.random()*100000);
} else {
alert("Sorry, cannot autoreload freeCap image\nSubmit the form and a new freeCap will be loaded");
}
}




By the way http://captchas.net free CAPTCHA service does not work under at: http://www.cypruspainters.net/captcha/freecap.php

For this reason, temporary I forced to use another path with the same code from an affiliated website in order to linked to CAPTCHA freecap service.


The CAPTCHA freecap service works fine at the affiliated website as follow:

http://www.ideahomefinder.com/resources/accommodation/addurl

and http://www.ideahomefinder.com/resource.php?a=addurl

BUT NOT on my website at:

http://www.cypruspainters.net/resources/accommodation/addurl.html and http://www.cypruspainters.net/resources/accommodation/resource.php?a=addurl

traq
03-20-2012, 03:04 PM
You shouldn't post your API key in public. :)

...........................................

Earlier, every time I followed that link, I got an "Error 404" response, which means that the URL did not point at an actual file.

Today, I am offered a download link for the PHP file.

This would indicate that your web host is not set up to run php - it's just an unrecognized file type, so the server offers a download prompt. This may be the reason your captcha script doesn't work either. Have you ever had a php script run successfully on your site? Talk to your web host to see if they support PHP. If they don't, you'd need to find a new host.


Beyond that, your resource.php file contains no php code. As you posted above, it's all html and javascript - there is nothing at all that can receive and process the form submission. Did you write this yourself, or did you download it or follow an example from somewhere? Do you have a script somewhere that actually handles the form submission?

neroman
03-20-2012, 05:14 PM
You shouldn't post your API key in public. :)

...........................................

Earlier, every time I followed that link, I got an "Error 404" response, which means that the URL did not point at an actual file.

Today, I am offered a download link for the PHP file.

This would indicate that your web host is not set up to run php - it's just an unrecognized file type, so the server offers a download prompt. This may be the reason your captcha script doesn't work either. Have you ever had a php script run successfully on your site? Talk to your web host to see if they support PHP. If they don't, you'd need to find a new host.


Beyond that, your resource.php file contains no php code. As you posted above, it's all html and javascript - there is nothing at all that can receive and process the form submission. Did you write this yourself, or did you download it or follow an example from somewhere? Do you have a script somewhere that actually handles the form submission?



I tried to pm you the API Key but the forum didn't let me :mad:

I copied some code from: http://www.opensource.org/licenses/mit-license.php


At my website's index.htm at: http://www.cypruspainters.net/index.htm (http://www.cypruspainters.net/index.htm) , I put inside the <head> the following script:
<script type="text/javascript" src="javascript/jquery.js,swfobject.js,infieldlabel.js,validationEngine.js,labelify.js,colorbox.js,date.js,datepicker.js,aviaslider.js,javascript.js" language="javascript"></script>

But I think this is useless for the index.htm webpage (I put it in order to check this later on)

I have already put the same script inside the <head> at: http://www.cypruspainters.net/resources/accommodation.html

The same script as follow: <script type="text/javascript" src="/javascript/jquery.js,swfobject.js,infieldlabel.js,validationEngine.js,labelify.js,colorbox.js,date.js,datepicker.js,aviaslider.js,javascript.js" language="javascript"></script>, it leads to javascript folder at: http://www.cypruspainters.net/javascript/jquery.js,swfobject.js,infieldlabel.js,validationEngine.js,labelify.js,colorbox.js,date.js,datepicker.js,aviaslider.js,javascript.js

I couldn't post the code which leads to this script because: The text that you have entered is too long (154550 characters). Please shorten it to 10000 characters long.

I will ask my hosting provider if they support PHP because also my website's feedback page at: http://www.cypruspainters.net/feedback2.htm doesn't work successfully as before!

A brief information has been found at my provider's page: https://www.misk.com/essentials/hosting.aspx


What Type of Files Can I Upload?:

Misk.com's Hosting supports all static content. This includes html files, all types of images, javascript, flash, zip, pdf, and anything else you can think of! There are NO restrictions on the type of files you can upload. You won't find a better service for hosting static content.

For dynamic scripting languages such as PHP, ASP, JSP, or ColdFusion, you'll need to find a hosting service that specializes in the specific language you're looking for. You can still take advantage of the superior dns, email, and other features included with our Domain Essentials plan by using our Custom DNS service to point your domain name to your other host. Using our service this way allows you to take advantage of our enterprise level features as well as leaving you in full control even if your web host is having issues.


Also take a look at some of the Mail Forms from my provider (if that's help) at:
http://www.cypruspainters.net/MiskMailFormPictures/MiskMailForm0001.jpg

http://www.cypruspainters.net/MiskMailFormPictures/MiskMailForm0002.jpg

http://www.cypruspainters.net/MiskMailFormPictures/MiskMailForm0003.jpg

Thanks :)

traq
03-20-2012, 07:45 PM
Misk.com's Hosting supports all static content [...] For dynamic scripting languages such as PHP, ASP, JSP, or ColdFusion, you'll need to find a hosting service that specializes in the specific language you're looking for.

...meaning, "not us."
I'd suggest finding a new host. PHP support is nearly universal nowadays - you should be able to find a more-than-decent PHP host for under $10/ month.


As for your scripts, files, and API key: no, I don't need to see them. Once you have a host that supports PHP you can try them again, and then we can see if there are any problems that need to be solved.

neroman
03-21-2012, 05:35 PM
...meaning, "not us."
I'd suggest finding a new host. PHP support is nearly universal nowadays - you should be able to find a more-than-decent PHP host for under $10/ month.


As for your scripts, files, and API key: no, I don't need to see them. Once you have a host that supports PHP you can try them again, and then we can see if there are any problems that need to be solved.

Answer of my request from my provider:

We checked captchas.net, recaptcha.net, and your thread. The form you created and those services are using PHP. Our hosting service is designed for static files only and does not provide dynamic, "server-side" scripting languages such as ASP or PHP, or databases such as MySQL. So, that's why the form is not working. Keep in mind that "client-side" features such as JavaScript and Flash will work just fine with our service.

We actually provide our own Mail Form service (that includes captcha). This custom framework allows you to send an email from your contact forms on the server side. We've attached documentation to help setup a form with captcha on your website. If you use the test example in that documentation, it'll start you with the basic form and you can add/edit the fields to customize it.

Based on my provider's answer could you help and find out why my website's feedback page at: http://www.cypruspainters.net/feedback2.htm doesn't work successfully as before? (This form used to work with my current provider).



www.cypruspainters.net/feedback2.htm




<html>

<head>
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
<meta content="en-us" http-equiv="Content-Language">
<title>Feedback</title>
<meta content="pixel 0011" name="Microsoft Theme">
</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">&nbsp;</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">&nbsp;</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>Contact Us:</b></b></b></b></b></b></b></b></b></b></b></b></b></h1>
<form action="test.mf" method="post">
Your Name:<br />
<input name="Name" size="20" type="text" value="" /><br />
<br />
Email:<br />
<input name="Email" size="20" type="text" value="" /><br />
<br />
Comments:<br />
<textarea cols="40" name="Comments" rows="10"></textarea><br />
<br />
<script src="http://api.recaptcha.net/challenge?k=6LfxMwYAAAAAAM8fEdeJUlJzGmueIL9-gDhnUdpo " type="text/javascript"></script>
<br>
<noscript>
<iframe frameborder="0" height="300" src="http://api.recaptcha.net/noscript?k=6LfxMwYAAAAAAM8fEdeJUlJzGmueIL9-gDhnUdpo " width="500">
</iframe><br>
<textarea cols="40" name="recaptcha_challenge_field" rows="3">
</textarea>
<input name="recaptcha_response_field" type="hidden" value="manual_challenge"></noscript><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">&nbsp;</p>
<p class="MsoNormal" align="left" style="margin-top: 0; margin-bottom: 0">&nbsp;</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>







www.cypruspainters.net\confirm2.htm




<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><b>Confirmation</b>:</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</td>
<td width="98%"><!--webbot bot="ConfirmationField" S-Field="UserFAX" --></td>
</tr>
<tr>
<td width="14%" align="right">&nbsp;</td>
<td width="2%" align="right">&nbsp;</td>
<td width="98%">&nbsp;</td>
</tr>
</table>
</div>

<p>&nbsp;</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%">&nbsp;</td>
</tr>
<tr>
<td width="100%" colspan="2">
<!--webbot bot="ConfirmationField" S-Field="Comments" --><p>&nbsp;</td>
</tr>
</table>
</center>
</div>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><a href="javascript:history.go(-1)">Return to the Form</a></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp; </p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

</body>

</html>








www.cypruspainters.net\test.mf





@from=The Website <webform@cypruspainters.net>
@to=George Ashiotis <georgeashiotis@yahoo.com>
@to=george@cypruspainters.net
@subject=Website Message From %name%
@redirPage=confirm2.htm
@recaptchaFailPage=repatchafail.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>



Below is a link which I've uploaded which shows the test example. My provider says: it'll start you with the basic form and you can add/edit the fields to customize it.

http://www.docdroid.net/l5z/miskmailform.pdf.html

Thanks :)

traq
03-21-2012, 07:31 PM
Answer of my request from my provider:

We checked captchas.net, recaptcha.net, and your thread. The form you created and those services are using PHP. Our hosting service is designed for static files only and does not provide dynamic, "server-side" scripting languages such as ASP or PHP, or databases such as MySQL. So, that's why the form is not working. Keep in mind that "client-side" features such as JavaScript and Flash will work just fine with our service.

We actually provide our own Mail Form service (that includes captcha). This custom framework allows you to send an email from your contact forms on the server side. We've attached documentation to help setup a form with captcha on your website. If you use the test example in that documentation, it'll start you with the basic form and you can add/edit the fields to customize it.

Based on my provider's answer could you help and find out why my website's feedback page at: http://www.cypruspainters.net/feedback2.htm doesn't work successfully as before? (This form used to work with my current provider).

...I'm afraid not. This seems like an issue that your host should be providing you help with (I'm not even sure what language/format your ".mf" file expects).

As your provider says, they provide no support for server-side scripting. If that's what you want (and if you want to process forms, that is what you need), I would still recommend finding a new hosting provider. Honestly, your current host seems very inadequate.