<?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 Inline Form Validation Engine</title> <atom:link href="http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/feed/" rel="self" type="application/rss+xml" /><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/</link> <description>- Hunting the Best Open Source Resources for Web Developers</description> <lastBuildDate>Mon, 22 Mar 2010 14:09:03 -0700</lastBuildDate> <generator>http://wordpress.org/?v=2.8.6</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: daddy design</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-32669</link> <dc:creator>daddy design</dc:creator> <pubDate>Thu, 04 Feb 2010 05:13:41 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-32669</guid> <description>nice tutorial! ty!</description> <content:encoded><![CDATA[<p>nice tutorial! ty!</p> ]]></content:encoded> </item> <item><title>By: cvul.com</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-32654</link> <dc:creator>cvul.com</dc:creator> <pubDate>Wed, 03 Feb 2010 03:41:10 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-32654</guid> <description>&lt;strong&gt;jQuery Inline Form Validation Engine...&lt;/strong&gt;When it comes to form validation, itâ€™s hard to have a versatile solution that works with every form. Figuring out how to display errors is not a simple task. Cedric Dugas has created a ......</description> <content:encoded><![CDATA[<p><strong>jQuery Inline Form Validation Engine&#8230;</strong></p><p>When it comes to form validation, itâ€™s hard to have a versatile solution that works with every form. Figuring out how to display errors is not a simple task. Cedric Dugas has created a &#8230;&#8230;</p> ]]></content:encoded> </item> <item><title>By: Yash</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-32506</link> <dc:creator>Yash</dc:creator> <pubDate>Mon, 25 Jan 2010 10:26:31 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-32506</guid> <description>Dear Friends i am using this script, nice, but one bug / Problem is there. The prompts are not closed automatically on any other click event. it exist there. For example i push submit button without typing, then error prompt showing. then i click another page. then these prompt still exist there.
Please help me !
Regards
Yash</description> <content:encoded><![CDATA[<p>Dear Friends i am using this script, nice, but one bug / Problem is there. The prompts are not closed automatically on any other click event. it exist there. For example i push submit button without typing, then error prompt showing. then i click another page. then these prompt still exist there.<br
/> Please help me !<br
/> Regards<br
/> Yash</p> ]]></content:encoded> </item> <item><title>By: Anderson Pereira</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-31798</link> <dc:creator>Anderson Pereira</dc:creator> <pubDate>Wed, 30 Dec 2009 12:41:36 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-31798</guid> <description>I have two is a function of the CPF and CNPJ another, but I would make the alerts using the red balloons form if any exception and are required when a field is not filled.The functions are shown below:jQuery.validator.addMethod(&quot;cpf&quot;, function(value, element) {
value = value.replace(&#039;.&#039;,&#039;&#039;);
value = value.replace(&#039;.&#039;,&#039;&#039;);
cpf = value.replace(&#039;-&#039;,&#039;&#039;);
while(cpf.length &lt; 11) cpf = &quot;0&quot;+ cpf;
var expReg = /^0+$&#124;^1+$&#124;^2+$&#124;^3+$&#124;^4+$&#124;^5+$&#124;^6+$&#124;^7+$&#124;^8+$&#124;^9+$/;
var a = [];
var b = new Number;
var c = 11;
for (i=0; i&lt;11; i++){
a[i] = cpf.charAt(i);
if (i &lt; 9) b += (a[i] * --c);
}
if ((x = b % 11) &lt; 2) { a[9] = 0 } else { a[9] = 11-x }
b = 0;
c = 11;
for (y=0; y&lt;10; y++) b += (a[y] * c--);
if ((x = b % 11) 31&#124;&#124;mes&gt;12)return false;
if((mes==4&#124;&#124;mes==6&#124;&#124;mes==9&#124;&#124;mes==11) &amp;&amp; dia==31)return false;
if(mes==2  &amp;&amp;  (dia&gt;29&#124;&#124;(dia==29 &amp;&amp; ano%4!=0)))return false;
if(ano 31&#124;&#124;mes&gt;12)return false;
if ((mes==4&#124;&#124;mes==6&#124;&#124;mes==9&#124;&#124;mes==11) &amp;&amp; dia==31)return false;
if (mes==2  &amp;&amp;  (dia&gt;29&#124;&#124;(dia==29 &amp;&amp; ano%4!=0)))return false;
// verificando hora
var horario 	= arrOpcoes[1];
var	hora 		= horario.substr(0,2);
var doispontos 	= horario.substr(2,1);
var minuto 		= horario.substr(3,2);
if(horario.length!=5&#124;&#124;isNaN(hora)&#124;&#124;isNaN(minuto)&#124;&#124;hora&gt;23&#124;&#124;minuto&gt;59&#124;&#124;doispontos!=&quot;:&quot;)return false;
return true;
}, &quot;Informe uma data e uma hora válida&quot;);/*
*
* NOVO METODO PARA O JQUERY VALIDATE
* VALIDA CNPJ COM 14 OU 15 DIGITOS
* A VALIDAÇÃO É FEITA COM OU SEM OS CARACTERES SEPARADORES, PONTO, HIFEN, BARRA
*
* ESTE MÉTODO FOI ADAPTADO POR:
*
* Shiguenori Suguiura Junior
*
* http://blog.shiguenori.com
* http://www.dothcom.net
*
*/
jQuery.validator.addMethod(&quot;cnpj&quot;, function(cnpj, element) {
// DEIXA APENAS OS NÚMEROS
cnpj = cnpj.replace(&#039;/&#039;,&#039;&#039;);
cnpj = cnpj.replace(&#039;.&#039;,&#039;&#039;);
cnpj = cnpj.replace(&#039;.&#039;,&#039;&#039;);
cnpj = cnpj.replace(&#039;-&#039;,&#039;&#039;);var numeros, digitos, soma, i, resultado, pos, tamanho, digitos_iguais;
digitos_iguais = 1;if (cnpj.length &lt; 14 &amp;&amp; cnpj.length &lt; 15){
return false;
}
for (i = 0; i = 1; i--){
soma += numeros.charAt(tamanho - i) * pos--;
if (pos &lt; 2){
pos = 9;
}
}
resultado = soma % 11 = 1; i--){
soma += numeros.charAt(tamanho - i) * pos--;
if (pos &lt; 2){
pos = 9;
}
}
resultado = soma % 11 &lt; 2 ? 0 : 11 - soma % 11;
if (resultado != digitos.charAt(1)){
return false;
}
return true;
}else{
return false;
}
}, &quot;Informe um CNPJ válido.&quot;); // Mensagem padrãojQuery.validator.addMethod(&quot;notEqual&quot;, function(value, element, param) {
return value == $(param).val() ? false : true;
}, &quot;Este valor não pode ser igual&quot;); // Mensagem padrão</description> <content:encoded><![CDATA[<p>I have two is a function of the CPF and CNPJ another, but I would make the alerts using the red balloons form if any exception and are required when a field is not filled.</p><p>The functions are shown below:</p><p>jQuery.validator.addMethod(&#8221;cpf&#8221;, function(value, element) {<br
/> value = value.replace(&#8217;.',&#8221;);<br
/> value = value.replace(&#8217;.',&#8221;);<br
/> cpf = value.replace(&#8217;-',&#8221;);<br
/> while(cpf.length &lt; 11) cpf = &quot;0&quot;+ cpf;<br
/> var expReg = /^0+$|^1+$|^2+$|^3+$|^4+$|^5+$|^6+$|^7+$|^8+$|^9+$/;<br
/> var a = [];<br
/> var b = new Number;<br
/> var c = 11;<br
/> for (i=0; i&lt;11; i++){<br
/> a[i] = cpf.charAt(i);<br
/> if (i &lt; 9) b += (a[i] * &#8211;c);<br
/> }<br
/> if ((x = b % 11) &lt; 2) { a[9] = 0 } else { a[9] = 11-x }<br
/> b = 0;<br
/> c = 11;<br
/> for (y=0; y&lt;10; y++) b += (a[y] * c&#8211;);<br
/> if ((x = b % 11) 31||mes&gt;12)return false;<br
/> if((mes==4||mes==6||mes==9||mes==11) &amp;&amp; dia==31)return false;<br
/> if(mes==2  &amp;&amp;  (dia&gt;29||(dia==29 &amp;&amp; ano%4!=0)))return false;<br
/> if(ano 31||mes&gt;12)return false;<br
/> if ((mes==4||mes==6||mes==9||mes==11) &amp;&amp; dia==31)return false;<br
/> if (mes==2  &amp;&amp;  (dia&gt;29||(dia==29 &amp;&amp; ano%4!=0)))return false;<br
/> // verificando hora<br
/> var horario 	= arrOpcoes[1];<br
/> var	hora 		= horario.substr(0,2);<br
/> var doispontos 	= horario.substr(2,1);<br
/> var minuto 		= horario.substr(3,2);<br
/> if(horario.length!=5||isNaN(hora)||isNaN(minuto)||hora&gt;23||minuto&gt;59||doispontos!=&#8221;:&#8221;)return false;<br
/> return true;<br
/> }, &#8220;Informe uma data e uma hora válida&#8221;);</p><p>/*<br
/> *<br
/> * NOVO METODO PARA O JQUERY VALIDATE<br
/> * VALIDA CNPJ COM 14 OU 15 DIGITOS<br
/> * A VALIDAÇÃO É FEITA COM OU SEM OS CARACTERES SEPARADORES, PONTO, HIFEN, BARRA<br
/> *<br
/> * ESTE MÉTODO FOI ADAPTADO POR:<br
/> *<br
/> * Shiguenori Suguiura Junior<br
/> *<br
/> * <a
href="http://blog.shiguenori.com" rel="nofollow">http://blog.shiguenori.com</a><br
/> * <a
href="http://www.dothcom.net" rel="nofollow">http://www.dothcom.net</a><br
/> *<br
/> */<br
/> jQuery.validator.addMethod(&#8221;cnpj&#8221;, function(cnpj, element) {<br
/> // DEIXA APENAS OS NÚMEROS<br
/> cnpj = cnpj.replace(&#8217;/',&#8221;);<br
/> cnpj = cnpj.replace(&#8217;.',&#8221;);<br
/> cnpj = cnpj.replace(&#8217;.',&#8221;);<br
/> cnpj = cnpj.replace(&#8217;-',&#8221;);</p><p> var numeros, digitos, soma, i, resultado, pos, tamanho, digitos_iguais;<br
/> digitos_iguais = 1;</p><p> if (cnpj.length &lt; 14 &amp;&amp; cnpj.length &lt; 15){<br
/> return false;<br
/> }<br
/> for (i = 0; i = 1; i&#8211;){<br
/> soma += numeros.charAt(tamanho &#8211; i) * pos&#8211;;<br
/> if (pos &lt; 2){<br
/> pos = 9;<br
/> }<br
/> }<br
/> resultado = soma % 11 = 1; i&#8211;){<br
/> soma += numeros.charAt(tamanho &#8211; i) * pos&#8211;;<br
/> if (pos &lt; 2){<br
/> pos = 9;<br
/> }<br
/> }<br
/> resultado = soma % 11 &lt; 2 ? 0 : 11 &#8211; soma % 11;<br
/> if (resultado != digitos.charAt(1)){<br
/> return false;<br
/> }<br
/> return true;<br
/> }else{<br
/> return false;<br
/> }<br
/> }, &quot;Informe um CNPJ válido.&quot;); // Mensagem padrão</p><p>jQuery.validator.addMethod(&quot;notEqual&quot;, function(value, element, param) {<br
/> return value == $(param).val() ? false : true;<br
/> }, &quot;Este valor não pode ser igual&quot;); // Mensagem padrão</p> ]]></content:encoded> </item> <item><title>By: Anderson pereira</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-31797</link> <dc:creator>Anderson pereira</dc:creator> <pubDate>Wed, 30 Dec 2009 12:35:42 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-31797</guid> <description>would like a position that is validated CPF and CNPJ documents which are Brazilian CPF is the SSN that contains 11 digits is already the CNPJ registration of juridical persons which contains 14 digits.I need this routine urgent</description> <content:encoded><![CDATA[<p>would like a position that is validated CPF and CNPJ documents which are Brazilian CPF is the SSN that contains 11 digits is already the CNPJ registration of juridical persons which contains 14 digits.</p><p>I need this routine urgent</p> ]]></content:encoded> </item> <item><title>By: SMiGL</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-31618</link> <dc:creator>SMiGL</dc:creator> <pubDate>Wed, 23 Dec 2009 20:31:09 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-31618</guid> <description>Good post. Does this plugin wokr in opera?</description> <content:encoded><![CDATA[<p>Good post. Does this plugin wokr in opera?</p> ]]></content:encoded> </item> <item><title>By: moe</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-31162</link> <dc:creator>moe</dc:creator> <pubDate>Sun, 13 Dec 2009 08:37:56 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-31162</guid> <description>i tried to use this library with asp.net 3.5 update panel, but it didnt work. although i have successfully used it before on asp.net mvc. any ideas? cant it be the update panel?</description> <content:encoded><![CDATA[<p>i tried to use this library with asp.net 3.5 update panel, but it didnt work. although i have successfully used it before on asp.net mvc. any ideas? cant it be the update panel?</p> ]]></content:encoded> </item> <item><title>By: neil muya</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-29824</link> <dc:creator>neil muya</dc:creator> <pubDate>Thu, 29 Oct 2009 03:16:23 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-29824</guid> <description>How do set the black prompt? is there a tutorial or guide to set the black prompt on load of document.Thanks</description> <content:encoded><![CDATA[<p>How do set the black prompt? is there a tutorial or guide to set the black prompt on load of document.</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: neel</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-28894</link> <dc:creator>neel</dc:creator> <pubDate>Thu, 17 Sep 2009 11:37:29 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-28894</guid> <description>Nice tutorial for creating the inline validation.</description> <content:encoded><![CDATA[<p>Nice tutorial for creating the inline validation.</p> ]]></content:encoded> </item> <item><title>By: Justincase</title><link>http://www.webappers.com/2009/06/12/jquery-inline-form-validation-engine/comment-page-1/#comment-25814</link> <dc:creator>Justincase</dc:creator> <pubDate>Wed, 15 Jul 2009 16:38:47 +0000</pubDate> <guid
isPermaLink="false">http://www.webappers.com/?p=1598#comment-25814</guid> <description>This is what i want but not exactly the problem with this script is that its not W3C valid it pulls a lot of errors.</description> <content:encoded><![CDATA[<p>This is what i want but not exactly the problem with this script is that its not W3C valid it pulls a lot of errors.</p> ]]></content:encoded> </item> </channel> </rss><!--
This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enchanced) (user agent is rejected)
Content Delivery Network via maxcdn.webappers.com (user agent is rejected)

Served from: ps11300.dreamhostps.com @ 2010-03-22 08:06:00 -->