{"id":3471,"date":"2014-03-25T13:11:13","date_gmt":"2014-03-25T13:11:13","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/25\/problem-about-jquery-validation-engine-collection-of-common-programming-errors\/"},"modified":"2014-03-25T13:11:13","modified_gmt":"2014-03-25T13:11:13","slug":"problem-about-jquery-validation-engine-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/25\/problem-about-jquery-validation-engine-collection-of-common-programming-errors\/","title":{"rendered":"problem about jquery-validation-engine-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e156aecaca98a4902867363be4b2c540?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBen McCormick<br \/>\njavascript jquery jquery-validation-engine<br \/>\nWhen I add this regex into validation engine I get a javascript error: &#8220;unexpected token&#8221;, it seems that the regex is wrong because it is underline with red, why? &#8220;time1&#8221;:{ &#8220;regex&#8221;: ^([0-9]|0[0-9]|1[0-3]|2[0-3]):[0-5][0-9]$,&#8221;alertText&#8221;: &#8220;* Invalid Time&#8221; }<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/aee3b44e5f0b4dfa0e2da672897b3751?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nj0k<br \/>\njquery ajax jquery-validation-engine<br \/>\nI am currently implementing validations and we badly need ajax inline validation working with validation engine. I downloaded the newest version and demos from github. And I think there is an js error. Please have a look at the example that exactly reproduces the error I get in my own code.http:\/\/www.position-relative.net\/creation\/formValidator\/demos\/demoAjaxInlinePHP.htmlPlease run it in firefox with firebug open, enter the right name (karnius), you can clearly see that an ajax request is perfo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/eef15424cd8fedae90eb33394b99cef1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSparky<br \/>\nphp jquery codeigniter jquery-validation-engine<br \/>\nI want to do Existing Email Check with Validation Engine.But there is a problem showing in firebug console like below:A PHP Error was encounteredSeverity: NoticeMessage: Undefined index: reg_emFilename: controllers\/user.phpLine Number: 170[&#8220;email&#8221;,true]Ajax error: 200 parsererrorHere is my jquery.validationEngine-en.js:&#8221;ajaxCheckEmail&#8221;: {&#8220;url&#8221;: base_url+&#8221;user\/checkEmailExistence\/&#8221;,&#8221;extraDataDynamic&#8221;: [&#8216;#reg_em&#8217;],&#8221;alertTextOk&#8221;: &#8220;* This email is available&#8221;,&#8221;alertText&#8221;: &#8220;* This email is already t<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/aee3b44e5f0b4dfa0e2da672897b3751?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nj0k<br \/>\nasp.net localization master-pages jquery-validation-engine<br \/>\nI am using validationEngine jquery 2.6.2 for validation in ASP.NET. I want to load its language rules file according to the language selected like English or Japanese. I am using master page in the application. Give some solution for this.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/aee3b44e5f0b4dfa0e2da672897b3751?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nj0k<br \/>\njquery jquery-ajax jquery-validation-engine<br \/>\nmy jquery validation form is not validate ..here is the code like&lt;script type=&#8217;text\/javascript&#8217;&gt;$(document).ready(function(){$(&#8216;#frm&#8217;).validationEngine(&#8216;validate&#8217;);}); &lt;\/script&gt;&lt;div id=&#8217;gap&#8217;&gt; &lt;\/div&gt;&lt;div id=&#8217;main&#8217;&gt;&lt;div id=&#8217;login-box&#8217;&gt;&lt;h2&gt;&lt;span&gt; &#8220;.HD_LOGIN.&#8221; &lt;\/span&gt;&lt;\/h2&gt;&lt;table align=&#8217;center&#8217;&gt;&lt;form id=&#8217;frm&#8217; name=&#8217;frm&#8217; &gt;&lt;tr&gt; &lt;td class=&#8217;name&#8217;&gt; &lt;span&gt;&#8221;.LBL_USERNAME.&#8221; &lt;\/span&gt; &lt;\/td&gt;&lt;td&gt; &lt;span&amp;g<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2f90e858672c079741471f72cba5480c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBen<br \/>\njquery forms validation jquery-validation-engine<br \/>\nI have a custom validation function to verify that two password fields match using jQuery-Validation-Engine:&lt;input type=&#8221;password&#8221; class=&#8221;validate[required,funcCall[checkPassordMatch],maxSize[25]]&#8221;&#8230;But if the field is not populated, and the form is submitted, I get the following exception:Uncaught TypeError: Cannot read property &#8216;checkPassordMatch&#8217; of undefined Is there any way I can only run this validation only if the input is populated, or if &#8220;required&#8221; passes first?For reference, my fun<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/26d7b31da814155de274bc19f5c5f82f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMike<br \/>\njquery ckeditor jquery-validation-engine<br \/>\nI have searched the site (and Google) and cannot find a working solution for my problem.I&#8217;m using Posabsolute&#8217;s Validation-Engine, and it is working just fine. Except for my problem children &#8211; my CKeditor formatted textareas.I know that I need to evaluate the textarea using CKEditor.instances.textareaid.updateElement(), but can&#8217;t get it to work.Anyone have any hints\/solutions on how to work this? Perhaps there is a setting in the validationEngine.js that I need to override?Any pointers will be<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/aee3b44e5f0b4dfa0e2da672897b3751?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nj0k<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/aee3b44e5f0b4dfa0e2da672897b3751?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nj0k<br \/>\njquery wordpress wordpress-plugin-dev jquery-validation-engine<br \/>\nI have a rather complicated form in a file I&#8217;ve named newuser.php. I am using a WordPress plugin that allows in post\/page php to include the file inside a WordPress page (I&#8217;m using the Suffusion theme). I am also trying to develop my own plugin (first time) and I am using that to enqueue all the necessary script and css files. I am loading my javascript files in the footer and jquery itself is being loaded in the header.As near as I can tell I have instantiated jquery.validationEngine correctly<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ben McCormick javascript jquery jquery-validation-engine When I add this regex into validation engine I get a javascript error: &#8220;unexpected token&#8221;, it seems that the regex is wrong because it is underline with red, why? &#8220;time1&#8221;:{ &#8220;regex&#8221;: ^([0-9]|0[0-9]|1[0-3]|2[0-3]):[0-5][0-9]$,&#8221;alertText&#8221;: &#8220;* Invalid Time&#8221; } j0k jquery ajax jquery-validation-engine I am currently implementing validations and we badly need ajax [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3471","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3471"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3471\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}