Code1(A) Code2(A) Code3(B) Code4(C) Code5(A) C..." />

How to add custom form validation using Jquery Validation Plugin for multiselect input?

There is addMethod in jquery validate the html form id="myform" action="#" method="post" name="myform"> Code1(A) Code2(A) Code3(B) Code4(C) Code5(A) Code6(B) Code7(C) 1 && b. Length > 0 && c. Length > 1 ) { return true; }else{ return false; } }else{ return false; } }, "you have not selected enough eleemnts from each group"); $("#myform").validate() and a WORKING DEMO.

There is addMethod in jquery validate the html Code1(A) Code2(A) Code3(B) Code4(C) Code5(A) Code6(B) Code7(C) and the jQuery $.validator. AddMethod("meets", function(value,element) { var txt = $('option:selected',element).text(); var a = txt. Match(/\(A\)/g); var be = txt.

Match(/\(B\)/g); var c = txt. Match(/\(C\)/g); if(a && be && c){ if(a. Length >1 && b.

Length > 0 && c. Length > 1 ) { return true; }else{ return false; } }else{ return false; } }, "you have not selected enough eleemnts from each group"); $("#myform").validate() and a WORKING DEMO.

Cody There you go my friend – mcgrailm Apr 27 at 20:44 Thanks a lot. – Cody Apr 29 at 18:13.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions