title: Jquery validation BIC IBAN in asp.net
body: <p>I'm using the latest version of the Jquery Validation plugin which has support for validating BIC and IBAN numbers. This is part of the additional methods js which I've included and is working fine for validating IBANs, however, it fails when validating BICs. When I say fails I mean the call to validate doesn't work, not that it's incorrectly validating the BIC sequence.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>&lt;asp:TextBox runat="server" ID="txtBIC" CssClass="donBic" AutoComplete="off"&gt;&lt;/asp:TextBox&gt;
  </code></pre>
  
  <p>And here's my Jquery</p>
  
  <pre><code> $('.donBic').rules('add', {
       bic: true
    });
  </code></pre>
  
  <p>I have to presume the 'bic' usage isn't the correct way to call that form of validation, yet this code works perfectly well for validating IBANS:</p>
  
  <pre><code>&lt;asp:TextBox runat="server" ID="txtIBAN" CssClass="donIban" AutoComplete="off"&gt;&lt;/asp:TextBox&gt;
  
    $('.donIban').rules('add', {
       iban: true
     });
  </code></pre>
  
  <p>Does anyone know the correct way to call BIC validation?</p>
  
  <p><a href="https://github.com/jzaefferer/jquery-validation/commit/ed51405d847e18765d7b3872164a261fb3848b72" rel="nofollow">BIC / IBAN code in github</a></p>