title: Using JQuery Validate Plugin to validate multiple form fields with identical names
body: <p>I have a dynamically generated form with input fields with the same name (for example: "map"). I do not have the option of changing the field names or generating unique field names because the form handler code (Perl/CGI) is designed to handle an array of input values (in this case <code>@map</code>). </p>
  
  <p>How can I use the JQuery <a href="http://docs.jquery.com/Plugins/Validation" rel="noreferrer" title="Validation">Validate Plugin</a> to validate a form in such a situation? Specifically I would want exactly one element of the submitted array to have a certain fixed value. I am currently using a custom event handler that creates a JSON object with <code>serializeArray()</code> and then traverses it to ensure that the condition is met. But since I have used the Validate Plugin in the rest of the application, I was wondering if such a case may be handled using the same plugin here too.</p>
  
  <p>Thank you for your attention.</p>