jquery validation: required dependency, multiple select options
<p>I use the following to make a certain field (field1) a required field, dependant on the select option, (opt1) being selected:</p>

<pre><code>    field1: {
    required: function() {
    return $("#selectfield").val() == "opt1";
}
}
</code></pre>

<p>This works fine but I can't figure out how to add extra options that I would like to make dependant required of the same field.
E.g. op1, opt2, op3 </p>
