title: How to use dynamic rule validation in jquery
body: <h2>im try to do this, it's error</h2>
  
  <hr>
  
  <blockquote>
    <p>$.each(data, function(i, item) {
        $('#'+item.field_id).rules('add', checkSeqNoFormat());
    }</p>
  </blockquote>
  
  <hr>
  
  <pre><code>$.validator.addMethod(
          "checkSeqNoFormat",
          function (value, element, requiredValue) {
              if(value=="123456789"){
                  return true;
              }else{
                  setMsgError(element);
                  return false;
              }
          }
      );
  </code></pre>