jQuery validate only by remote
<p>My form has 4 fields and at least one of them must contain a number. I can handle this all by remote but I can't get the snippet below to call the remote function unless I also add a <code>required: true</code> to the rules. <code>codes[25]</code> is just one of the fields. </p>

<pre><code>$("#create-codes-form").validate({
        rules: {
            'codes[25]': {
                remote: {
                    url: site_url+"codes/validate",
                    async: false,
                    type: "post",
                    data: {
                        codes: function() {
                            return $("#create-codes-form").serialize();
                        }
                    }
                }
            }
        }
    });
</code></pre>

<p>Why, when I submit this form, is the remote call not being made?</p>

<p>EDIT: the remote call is being made if I enter a value in the codes[25] field, but not if I submit the form without touching any of the fields.</p>
