title: Raty Rattings Validation
body: <p>i have a small question. How do i make the raty rattings become validated in the form?</p>
  
  <p>Because when i uses this code</p>
  
  <pre><code>$('#rating-webratting').raty({
                      hints       : ['1 Star', '2 Stars', '3 Stars', '4 Stars', '5 Stars'],
                      scoreName   : 'rating-webratting',
                      path        : 'img/',
                      starOn      : 'star_on.png',
                      starOff     : 'star_off.png'
                  });
  </code></pre>
  
  <p>on this div</p>
  
  <pre><code>&lt;div id="rating-webratting"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>When the pages load it will create this html codes inside the div</p>
  
  <pre><code>&lt;img title="1 Star" alt="1" src="img/star_off.png"&gt;&amp;nbsp;
  &lt;img title="2 Stars" alt="2" src="img/star_off.png"&gt;&amp;nbsp;
  &lt;img title="3 Stars" alt="3" src="img/star_off.png"&gt;&amp;nbsp;
  &lt;img title="4 Stars" alt="4" src="img/star_off.png"&gt;&amp;nbsp;
  &lt;img title="5 Stars" alt="5" src="img/star_off.png"&gt;
  &lt;input name="rating-webratting" type="hidden"&gt;
  </code></pre>
  
  <p>But i could not add the class="required" into the input field because its generated by the script itself. </p>
  
  <p>Can anyone please advise on how to do that for the jquery validation? </p>
  
  <p>i have tried the addMethod but i cant add in the class into it.</p>