<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AJAX Contact Form with PHP Fallback</title>
	<atom:link href="http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/</link>
	<description>Website of Ben Huddleston - right now it's mainly a playground for testing Wordpress plugins.</description>
	<lastBuildDate>Wed, 30 Mar 2011 20:46:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: ben</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1760</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Thu, 20 Jan 2011 05:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1760</guid>
		<description>Pawel,

You&#039;ll need to add those additional letters to the validator checks.  Check out lines 312-336 in FormProcessor.class.php and lines 133 through 163 in form_processor.php.  You&#039;ll also want to probably look at the formval.js and either modify the existing javascript functions or add your own.</description>
		<content:encoded><![CDATA[<p>Pawel,</p>
<p>You&#8217;ll need to add those additional letters to the validator checks.  Check out lines 312-336 in FormProcessor.class.php and lines 133 through 163 in form_processor.php.  You&#8217;ll also want to probably look at the formval.js and either modify the existing javascript functions or add your own.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawel</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1759</link>
		<dc:creator>Pawel</dc:creator>
		<pubDate>Wed, 19 Jan 2011 20:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1759</guid>
		<description>Hey Ben, sorry for posting, Im not sure if you will read it.. The script is great but ive got some problems with customizing it - I need to give an opportunity for my guests to type polish fonetic letters like łążśżćżę etc. I thought that implementing it will be easy, but i was wrong. any tips how to solve it? The main things for me are:
1. polish letters in input fields or disabling validation ( only info about req fields will stay )
2. How to change last name into address 
the priority for me is #1 thanks mate</description>
		<content:encoded><![CDATA[<p>Hey Ben, sorry for posting, Im not sure if you will read it.. The script is great but ive got some problems with customizing it &#8211; I need to give an opportunity for my guests to type polish fonetic letters like łążśżćżę etc. I thought that implementing it will be easy, but i was wrong. any tips how to solve it? The main things for me are:<br />
1. polish letters in input fields or disabling validation ( only info about req fields will stay )<br />
2. How to change last name into address<br />
the priority for me is #1 thanks mate</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1707</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Sat, 20 Feb 2010 23:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1707</guid>
		<description>Robert,

Be sure to change the email address in the following three files:

index.php
FormProcessor.class.php
form_processor.php

The easiest thing to do is a search and replace for &quot;youremail@yourdomain.com&quot; (no quotes) in all three files.

Regards,
Ben</description>
		<content:encoded><![CDATA[<p>Robert,</p>
<p>Be sure to change the email address in the following three files:</p>
<p>index.php<br />
FormProcessor.class.php<br />
form_processor.php</p>
<p>The easiest thing to do is a search and replace for &#8220;youremail@yourdomain.com&#8221; (no quotes) in all three files.</p>
<p>Regards,<br />
Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1706</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sat, 20 Feb 2010 13:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1706</guid>
		<description>hey mate. thanks for beautiful script!

please tell me, how do I change the mail?
I did changed every mail I saw and then it says msg sent, and no email got.

best regards!</description>
		<content:encoded><![CDATA[<p>hey mate. thanks for beautiful script!</p>
<p>please tell me, how do I change the mail?<br />
I did changed every mail I saw and then it says msg sent, and no email got.</p>
<p>best regards!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Free web resources &#8211; Net-Kit.com &#187; Blog Archive &#187; 15 Ajax contact / feedback forms</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1662</link>
		<dc:creator>Free web resources &#8211; Net-Kit.com &#187; Blog Archive &#187; 15 Ajax contact / feedback forms</dc:creator>
		<pubDate>Mon, 23 Nov 2009 06:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1662</guid>
		<description>[...]  8. AJAX Contact Form with PHP Fallback [...]</description>
		<content:encoded><![CDATA[<p>[...]  8. AJAX Contact Form with PHP Fallback [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fla</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1560</link>
		<dc:creator>Fla</dc:creator>
		<pubDate>Mon, 26 Oct 2009 19:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1560</guid>
		<description>Hi, nice piece of code enhace for FormProcessor.php.
However there is a problem related to non-standar characters:

case &#039;textarea&#039;:
                    $rules[&#039;regexp&#039;] = &#039;&#124;^[a-zA-Z0-9\.\-\Ä\ä\Ö\ö\Ü\ü\ \.\?\!\(\)\r\n ]*$&#124;&#039;;
                    break;

If you insert an &#039;umlaut&#039; vowel like: ä to the comments text area in your example: http://www.minc.info/ajaxcontact/index.php it wouldn&#039;t be passed as a validate character.

Please check it out!

Regards!</description>
		<content:encoded><![CDATA[<p>Hi, nice piece of code enhace for FormProcessor.php.<br />
However there is a problem related to non-standar characters:</p>
<p>case &#8216;textarea&#8217;:<br />
                    $rules['regexp'] = &#8216;|^[a-zA-Z0-9\.\-\Ä\ä\Ö\ö\Ü\ü\ \.\?\!\(\)\r\n ]*$|&#8217;;<br />
                    break;</p>
<p>If you insert an &#8216;umlaut&#8217; vowel like: ä to the comments text area in your example: <a href="http://www.minc.info/ajaxcontact/index.php" rel="nofollow">http://www.minc.info/ajaxcontact/index.php</a> it wouldn&#8217;t be passed as a validate character.</p>
<p>Please check it out!</p>
<p>Regards!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mx3design</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1483</link>
		<dc:creator>mx3design</dc:creator>
		<pubDate>Sun, 05 Oct 2008 09:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1483</guid>
		<description>I found Andrew&#039;s script but not a web site:
http://www.codewalkers.com/c/a/Email-Code/Basic-Ajax-contact-form/</description>
		<content:encoded><![CDATA[<p>I found Andrew&#8217;s script but not a web site:<br />
<a href="http://www.codewalkers.com/c/a/Email-Code/Basic-Ajax-contact-form/" rel="nofollow">http://www.codewalkers.com/c/a/Email-Code/Basic-Ajax-contact-form/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ming</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1473</link>
		<dc:creator>ming</dc:creator>
		<pubDate>Fri, 23 May 2008 05:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1473</guid>
		<description>Hi all.  My sincere apologies for not replying sooner.  I wasn&#039;t receiving notices about comments for some reason. 

@ fotinorod, I&#039;m glad I was able to help out.

@ Ian, yes, this is a new version of the other code I wrote.  The original code was a PHP form that did javascript validation prior to posting and php form validation after posting.  This code above has that, plus, if the user has javascript, it has a separate form that allows them to submit the form via AJAX rather than submitting it via PHP and having to reload the page.  Now, that&#039;s a bit of a misnomer as I&#039;m using PHP with the AJAX form for submission, but the user only sees the AJAX portion of it.

@ Tim, yes, you can use noscript tags, BUT, if you put noscript tags in your header, your code won&#039;t validate.  I actually looked at doing it with noscript, but it just wouldn&#039;t work for what I needed it to do and still validate.</description>
		<content:encoded><![CDATA[<p>Hi all.  My sincere apologies for not replying sooner.  I wasn&#8217;t receiving notices about comments for some reason. </p>
<p>@ fotinorod, I&#8217;m glad I was able to help out.</p>
<p>@ Ian, yes, this is a new version of the other code I wrote.  The original code was a PHP form that did javascript validation prior to posting and php form validation after posting.  This code above has that, plus, if the user has javascript, it has a separate form that allows them to submit the form via AJAX rather than submitting it via PHP and having to reload the page.  Now, that&#8217;s a bit of a misnomer as I&#8217;m using PHP with the AJAX form for submission, but the user only sees the AJAX portion of it.</p>
<p>@ Tim, yes, you can use noscript tags, BUT, if you put noscript tags in your header, your code won&#8217;t validate.  I actually looked at doing it with noscript, but it just wouldn&#8217;t work for what I needed it to do and still validate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1466</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 26 Mar 2008 22:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1466</guid>
		<description>Sorry, it filtered out the NOSCRIPT tag I had in there. Browsers process code within any tags they do not know the meaning of. I believe javascript-enabled browsers know to completely ignore the NOSCRIPT tag. It&#039;s the same reason why some people put javascript code within comment tags in HTML--otherwise, non-js enabled browsers would just output your raw js code.</description>
		<content:encoded><![CDATA[<p>Sorry, it filtered out the NOSCRIPT tag I had in there. Browsers process code within any tags they do not know the meaning of. I believe javascript-enabled browsers know to completely ignore the NOSCRIPT tag. It&#8217;s the same reason why some people put javascript code within comment tags in HTML&#8211;otherwise, non-js enabled browsers would just output your raw js code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.ben-huddleston.com/coding/ajax-contact-form-with-php-fallback/comment-page-1/#comment-1465</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 26 Mar 2008 22:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.minc.info/?p=106#comment-1465</guid>
		<description>&quot;Unfortunately, there&#039;s no good way to test if people have javascript enabled.&quot;

Would  work for this purpose?</description>
		<content:encoded><![CDATA[<p>&#8220;Unfortunately, there&#8217;s no good way to test if people have javascript enabled.&#8221;</p>
<p>Would  work for this purpose?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

