jquery.validation.js error display handling

jquery.validation.js error display handling

Hello,


I have questions, i noticed that when i use the same id tag the error messages shows up in random places. for example.

<input type='text' class='required email valid' id='inputstyle' name='test1' />
<input type='text' class='required email valid' id='inputstyle' name='test2' />
<input type='text' class='required email valid' id='inputstyle' name='test3' />

The names are different but the id's are the same, if input test3 is wrong the error will show up in test1, is there a way to have jquery.validation.js to use the name tag as the identifier for the error display location as opposed to id tag ?

NOTE: if i remove the id tags all together the errors are displayed properly next to the correct field.

Thanks,
Balzano