Take the 2-minute tour ×

In the following code only the first mandatory dijit element should be validated and not the second one, as it is contained in a dd tag which is invisible.

    <dd>mandatory dijit element</dd>

    <dt style="display:none;">Label</dt>
    <dd style="display:none;">mandatory  dijit element</dd>

    <dd>dijit submit</dd>
share|improve this question
So... what's the question? It'd help to have more specific code. e.g. What types of widgets are to be validated / not validated? FWIW, disabled form widgets are not validated (and also not included in the form value nor sent to the server). –  Ken Franqueiro Oct 23 '11 at 1:10
$("#myform").validate({ ignore: ":hidden" }); I need something similar to this code for Dojo validation –  Samik Chattopadhyay Oct 23 '11 at 7:37
add comment


Your Answer



Browse other questions tagged or ask your own question.