<?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: jQuery Validation Plugin &#8211; Dynamically change validator message</title>
	<atom:link href="http://justinramel.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/feed/" rel="self" type="application/rss+xml" />
	<link>http://justinramel.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/</link>
	<description>A list of stuff I should remember but never do</description>
	<lastBuildDate>Mon, 26 Jul 2010 11:15:10 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jQuery Validation Plugin – Dynamically change validator message « just in ram</title>
		<link>http://justinramel.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/comment-page-1/#comment-164</link>
		<dc:creator>jQuery Validation Plugin – Dynamically change validator message « just in ram</dc:creator>
		<pubDate>Wed, 16 Sep 2009 23:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://justinram.wordpress.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/#comment-164</guid>
		<description>[...] &#8212; justinram @ 9:43 pm Tags: jQuery Validation Plugin  This post has been moved to my new blog http://justinramel.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/ Possibly related posts: (automatically generated)Lost in translation? Twitter&#146;s coded [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8212; justinram @ 9:43 pm Tags: jQuery Validation Plugin  This post has been moved to my new blog <a href="http://justinramel.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/" rel="nofollow">http://justinramel.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/</a> Possibly related posts: (automatically generated)Lost in translation? Twitter&#8217;s coded [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guu</title>
		<link>http://justinramel.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/comment-page-1/#comment-157</link>
		<dc:creator>Guu</dc:creator>
		<pubDate>Mon, 29 Jun 2009 21:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://justinram.wordpress.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/#comment-157</guid>
		<description>it worked? great! good to know :)</description>
		<content:encoded><![CDATA[<p>it worked? great! good to know <img src='http://justinramel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justinram</title>
		<link>http://justinramel.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/comment-page-1/#comment-156</link>
		<dc:creator>justinram</dc:creator>
		<pubDate>Fri, 26 Jun 2009 13:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://justinram.wordpress.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/#comment-156</guid>
		<description>I hadn&#039;t tried that but I have now and it worked a treat, thanks! I didn&#039;t know it was possible as you can probably tell I&#039;m new to javascript/jquery. I&#039;ll update the post and point any unfortunates like myself directly to your comment its a far better solution.</description>
		<content:encoded><![CDATA[<p>I hadn&#8217;t tried that but I have now and it worked a treat, thanks! I didn&#8217;t know it was possible as you can probably tell I&#8217;m new to javascript/jquery. I&#8217;ll update the post and point any unfortunates like myself directly to your comment its a far better solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guu</title>
		<link>http://justinramel.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/comment-page-1/#comment-155</link>
		<dc:creator>Guu</dc:creator>
		<pubDate>Fri, 26 Jun 2009 12:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://justinram.wordpress.com/2009/06/25/jquery-validation-plugin-dynamically-change-validator-message/#comment-155</guid>
		<description>Have you tried to declare the options outside?

var EnquiryValidation = {
    rules: {
        EnquiryText: { required: true }
    },
    messages: {
        EnquiryText: &quot;Enquiry must contain an entry.&quot;
    }
};
$(&quot;#Enquiry&quot;).validate(EnquiryValidation );

and then change the values likey this:

EnquiryValidation.messages.EnquiryText = &#039;NEW MESSAGE&#039;;</description>
		<content:encoded><![CDATA[<p>Have you tried to declare the options outside?</p>
<p>var EnquiryValidation = {<br />
    rules: {<br />
        EnquiryText: { required: true }<br />
    },<br />
    messages: {<br />
        EnquiryText: &#8220;Enquiry must contain an entry.&#8221;<br />
    }<br />
};<br />
$(&#8221;#Enquiry&#8221;).validate(EnquiryValidation );</p>
<p>and then change the values likey this:</p>
<p>EnquiryValidation.messages.EnquiryText = &#8216;NEW MESSAGE&#8217;;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
