<?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>TechJive &#187; validation</title>
	<atom:link href="http://www.techjive.net/tag/validation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techjive.net</link>
	<description>Making Tech Jive For You</description>
	<lastBuildDate>Thu, 25 Jun 2009 01:16:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>jQuery Form Validation</title>
		<link>http://www.techjive.net/2009/02/20/jquery-form-validation/</link>
		<comments>http://www.techjive.net/2009/02/20/jquery-form-validation/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 14:39:19 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.techjive.net/?p=116</guid>
		<description><![CDATA[We do very little true data entry into our systems database. Most of what we do is updating the information already in, or adding an entry to the activity log for a server. I hadn&#8217;t really given much thought to form validation, until a coworker asked for it. Once again, there is already a jQuery [...]]]></description>
			<content:encoded><![CDATA[<p>We do very little true data entry into our systems database. Most of what we do is updating the information already in, or adding an entry to the activity log for a server. I hadn&#8217;t really given much thought to form validation, until a coworker asked for it. Once again, there is already a jQuery plugin that does a fantastic job of this.</p>
<p>The <a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation plugin</a> works on many different levels. First, and most commonly, it will validate that you have entered values into required fields.</p>
<p>Beyond that, you can validate the data entered into the field is in the format you desire. Types include email, url, date (mm/dd/yyyy), ISO date (yyyy-mm-dd), number (float), digits (integer), credit card, US phone numbers, and equal to (retyping email address as an example).</p>
<p>You can also do min and max lengths, min and max values, as well as ranges. The best part is that you can force any of the format validation without making the field required entry.</p>
<p>For me, what makes this plugin hot with a capital HAW, is that you can do remote validation before the form is submitted. One of their demo pages is a <a href="http://jquery.bassistance.de/validate/demo/milk/">mock signup form for Remember The Milk</a> (type &#8220;Peter&#8221; in the username field). With this demo, the username field is set to remotely verify with an external source &#8212; in this mock-up it is just a static array in a PHP file &#8212; that the value you have entered doesn&#8217;t already exist. They are even nice enough to give you both the jQuery script and PHP code from the example.</p>
<p>I&#8217;m still in the process of adding the format validation to non-required fields in our system, but I&#8217;m already rawking the required validation, as well as the remote validation for unique values like host name and server name.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techjive.net/2009/02/20/jquery-form-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
