You could just do:

if ($('#radioButton1:checked, #radioButton2: checked').length == 2)){
//required
} else {
//not required
}

On Feb 5, 1:51 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
wrote:
> The [validate] indicates that the message is about the validation
> plugin. I'm asking to put that into the subject on the plugin page.
>
> To the question, try this:
>
> required: function() {
>   return $("#radioButton1:unchecked").length &&
> $("#radioButton2:unchecked").length;
>
> }
>
> Jörn
>
> On Thu, Feb 5, 2009 at 7:22 PM, MorningZ <morni...@gmail.com> wrote:
>
> > You using a plugin like "Validate" or just a general "how do I?"
> > question

Reply via email to