<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Trilobita.co.uk &#187; validation</title>
	<atom:link href="http://www.trilobita.co.uk/blog/tag/validation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trilobita.co.uk/blog</link>
	<description>:: Web Development Snippets</description>
	<lastBuildDate>Fri, 01 May 2009 10:54:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Really Easy Field Validation with JQuery</title>
		<link>http://www.trilobita.co.uk/blog/2009/04/16/really-easy-field-validation-with-jquery/</link>
		<comments>http://www.trilobita.co.uk/blog/2009/04/16/really-easy-field-validation-with-jquery/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 13:28:51 +0000</pubDate>
		<dc:creator>trilobita</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[field validation]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[form checking]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.trilobita.co.uk/blog/?p=49</guid>
		<description><![CDATA[Again JQuery has improved and simplified from the process outlined earlier in this blog
for form validation just add jquery.validate plugin and then in the code add:-

$(&#34;#commentForm&#34;).validate();

or more likely you&#8217;ll have a more complex form so you&#8217;ll need to specify a few attributes

var validator = $(&#34;#health&#34;).validate({
			rules: {
				radiofield: &#34;required&#34;,
				textfield: &#34;required&#34;,
				email: {required: true,email: true},
				name: &#34;required&#34;
  			},
			messages: {
				email: [...]]]></description>
		<wfw:commentRss>http://www.trilobita.co.uk/blog/2009/04/16/really-easy-field-validation-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Really easy field validation</title>
		<link>http://www.trilobita.co.uk/blog/2007/04/14/really-easy-field-validation/</link>
		<comments>http://www.trilobita.co.uk/blog/2007/04/14/really-easy-field-validation/#comments</comments>
		<pubDate>Sat, 14 Apr 2007 10:53:38 +0000</pubDate>
		<dc:creator>trilobita</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[form checking]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://trilobita.localhost/wordpress/?p=7</guid>
		<description><![CDATA[SUPERSEEDED PLEASE SEE &#8216;Really Easy Field Validation with JQuery&#8216;
from http://tetlaw.id.au/view/javascript/really-easy-field-validation
Include the scripts

&#60;script src=&#34;prototype.js&#34; type=&#34;text/javascript&#34;&#62;&#60;!--mce:0--&#62;&#60;/script&#62;
&#160;
&#60;script src=&#34;validation.js&#34; type=&#34;text/javascript&#34;&#62;&#60;!--mce:1--&#62;&#60;/script&#62;

use the class attribute to specify the type of validation

&#60;input id=&#34;field1&#34; class=&#34;required validate-number&#34; name=&#34;field1&#34; /&#62;

You then activate validation by passing the form or form&#8217;s id attribute like this:

&#60;script type=&#34;text/javascript&#34;&#62;&#60;!--mce:2--&#62;&#60;/script&#62;

options for the class attribute are listed below

required (not blank)
validate-number (a valid [...]]]></description>
		<wfw:commentRss>http://www.trilobita.co.uk/blog/2007/04/14/really-easy-field-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
