title: Getting around naming conventions on inputs?
body: <p>I have a set of inputs that I'm using jQuery validate on, and they all base their 'error-logs' off of their names.</p>
  
  <p>This wouldn't be a problem, except most of the names are set to fit with our DB so they can be uploaded on submit.</p>
  
  <p>For example, I have these naming rules right now, which work great for 'first name' and 'email'</p>
  
  <pre><code>rules: {    
      firstname: {
          required: true,
      },
      email: {
          required: true,
      }
  },
  messages: {
      firstname: "Please enter your name",
      email: "A valid email is required",
  }
  </code></pre>
  
  <p>But whenever I have a name like this input:</p>
  
  <pre><code>&lt;input id="edit-submitted-constituent-base-total-constituents" class="form-text hs-input" name="submitted[constituent_base][total_constituents] total_number_of_constituents_in_your_database" required="required" size="60" maxlength="128" type="number" value="" placeholder=""&gt;
  </code></pre>
  
  <p>It gets a little tricky because it won't register <code>submitted[constituent_base][total_constituents] total_number_of_constituents_in_your_database</code> as a name and let me change the error.</p>
  
  <p>My only two thoughts were to add a <code>name=""</code> onto the input, which doesn't work, and then somehow trying to figure out how to call to it by an <code>id</code> or some sort. Has anyone accomplished this?</p>