title: How to use wildcards with jQuery Validation Plugin?
body: <p>How can I validate forms with jQuery plugin with ids that have a name pattern, like #formNewHouse1, #formNewHouse2,.. ?</p>
  
  <p>This code is working with a single type (normal) form:</p>
  
  <pre><code>$("#formNewHouse").validate({
      rules: {
          formNewHouseName: {
              required: true
          },
          formNewHouseAddress: {
              required: true
          }
      },
      messages: {
          formNewHouseName: {
              required: "Please type a name"
          },
          formNewHouseAddress: {
              required: "Please type an address"
          }
      }
  });   
  </code></pre>
  
  <p>I need something like this, where X = 2,3,6,18,19,... (IDs from DB) how can I achieve this?</p>
  
  <pre><code>$("#formNewHouseX").validate({
      rules: {
          formNewHouseNameX: {
              required: true
          },
          formNewHouseAddressX: {
              required: true
          }
      },
      messages: {
          formNewHouseNameX: {
              required: "Please type a name"
          },
          formNewHouseAddressX: {
              required: "Please type an address"
          }
      }
  }); 
  </code></pre>
  
  <p>Thanks in advance.</p>