done it! if anyone interested here's what i did: here's the class rule which calls a function that iterate through the radiobuttons
$.validator.addClassRules({ scuola: { required: function(){ checkIstruzione(); return cc; } } }); and here is the function function checkIstruzione(){ $('input[type=radio].scuola').each(function(){ var chk = $(this).attr('checked'); var val = $ (this).val(); if ( (val == 'si') && (chk == true)) { cc = false; return cc; } else { cc = true; return cc; } }); } maybe it can be useful Thanks again Jorn :) On 22 Ott, 12:20, hcvitto <[EMAIL PROTECTED]> wrote: > doh!! > ok..i do that now but i can't get the right result of the iteration > function (i see it's no longer a plugin problem!) > Any suggestion though :) ?