validate.js在input标签上的写法问题

下拉框select要根据另外一个下拉框的值是什么来决定是否必填验证

目前的情况,验证必须写在input标签上

以下代码已经简化(与另外一个input无关了),但还是会弹出必填验证,求大佬指点如何写

<select class="required : { depends : function () { return 1==2 ; } }"

https://codereview.stackexchange.com/questions/187471/conditional-validation-on-two-input-fields-that-depend-on-each-other