In IE8 the validate-one-required throws an error.  Saying that the
given element(DIV) doesnt have a method called getElements().  in FF
and chrome, it works fine.  Not sure how the div element isnt getting
this method.

This does not work:

<form id='form'>
    <div>
        <input type="checkbox" />
        <input id="one" type="checkbox" class="validate-one-required" /
>
    </div>
    <input type='button' value='x' />
</form>

This does work:

<form id='form'>
    <input type="checkbox" />
    <input id="one" type="checkbox" class="validate-one-required" />
    <input type='button' value='x' />
</form>

So wrapping the checkboxes in a div fails, but thats one of the key
things about validate-one-required :)

Am i missing something with this?

Thanks

Reply via email to