title: Star rating plugin, how to put radiobutton values into an array?
body: <p>I´m currently using the <a href="http://www.fyneworks.com/jquery/star-rating/" rel="nofollow">Star Rating Plugin</a> for a project where I need users to assess their language skills. Basically they select a language and rate their skill from 1-5 using the Star plugin. Spring MVC is being used for backend. </p>
  
  <p>The actual language is being posted as an array with parameter name "languages". I would also like to post the rating as an array, but my issue is that the Star Rating Plugin expects a different name for each group of ratings (in this case each language). So for now I have input parameters with name=star1, star2 etc.</p>
  
  <p>I was thinking of using jQuery to put the values from star1, star2 etc into an array when the user submits the form, but I´m not sure how to do that. Is there any other way using "native Spring" that I could solve this problem? </p>
  
  <p>Sample code below:</p>
  
  <pre><code>&lt;form:errors path="languages" class="small"/&gt;&lt;/label&gt;
    &lt;form:input path="languages" class="reginput" id="language1"/&gt;
  
    &lt;div class="starinput"&gt;
      &lt;input name="star1" type="radio" class="star" disabled="disabled" value="1" /&gt;
      &lt;input name="star1" type="radio" class="star" disabled="disabled" value="2" /&gt;
      &lt;input name="star1" type="radio" class="star" disabled="disabled" value="3" /&gt;
      &lt;input name="star1" type="radio" class="star" disabled="disabled" value="4" /&gt;
      &lt;input name="star1" type="radio" class="star" disabled="disabled" value="5"  checked="checked"/&gt;
    &lt;/div&gt;
    &lt;br&gt;
  
    &lt;label&gt; 
    &lt;form:errors path="languages" class="small"/&gt;&lt;/label&gt;
    &lt;form:input path="languages" class="reginput" id="language2"/&gt;
  
    &lt;div class="starinput"&gt;
      &lt;input name="star2" type="radio" class="star" value="1" /&gt;
      &lt;input name="star2" type="radio" class="star" value="2" /&gt;
      &lt;input name="star2" type="radio" class="star" value="3" /&gt;
      &lt;input name="star2" type="radio" class="star" value="4" /&gt;
      &lt;input name="star2" type="radio" class="star" value="5" /&gt;
    &lt;/div&gt;
    &lt;br&gt;
  </code></pre>