title: Checking label text and verifying that input field tied to it has at least x amount characters
body: <p>I'm super new to this language. I have the ability to check for the label sting but I want to make sure that the input field next to it has at least 6 digits (numerical if possible)</p>
  
  <pre><code>$(document).ready(function(){
      $("label:contains('6 digit')") //i get lost here
  });
  </code></pre>
  
  <p>Markup:</p>
  
  <pre><code>&lt;form&gt;
      &lt;label&gt;Test&lt;/label&gt;&lt;input value="1" type="text" class="check"&gt;
      &lt;label&gt;Test&lt;/label&gt;&lt;input value="1" type="text" class="check"&gt;
      &lt;label&gt;Test&lt;/label&gt;&lt;input value="1" type="text" class="check"&gt;
      &lt;label&gt;6 digit&lt;/label&gt;&lt;input value="1" type="text" class="check"&gt; 
      &lt;label&gt;6 digit&lt;/label&gt;&lt;input value="1" type="text" class="check"&gt;
      &lt;label&gt;Test&lt;/label&gt;&lt;input value="1" type="text" class="check"&gt;
  
      &lt;input type="submit"&gt;
  &lt;/form&gt;
  </code></pre>