How to add multiple methods for one field in jQuery validate
<p>Can jQuery validate plugin pass multiple methods through one field?</p>

<p>for example, add two methods:</p>

<pre><code>var num1 = 1;
    num2 = 10;
    range1 = 100;
    range2 = 250;
    value = $("#something_from_html")

$.validator.addMethod("method_one", function( value, element ) {
    if(value &lt; num1 || value &gt; num2)
        return false;
    return method_one(value, num1, num2);
}, I18N("wrong number"));


$.validator.addMethod("method_two", function( value, element ) {
    if( value &lt; range1 || value &gt; range2) 
        return false;
    return method_two(value, range1, range2);   
}, I18N("wrong range"));
</code></pre>

<p>and return different warning message to one field:</p>

<pre><code>$("#form").each(function(index, el)  {
    $(el).validate({
        rules: {
            something_from_html: {
                required: true,
                method_one: true,
                method_two: true
            },
        },

    });
});
</code></pre>

<p>the HTML part:</p>

<pre><code>&lt;form id="form" name="form"&gt;    
    &lt;input type="text" name="something_from_html" id="something_from_html"&gt;
&lt;/form&gt;
</code></pre>

<p>When I add one method to rule, it works perfectly. But when I add both of method_one and method_two, it doesn't work. Anybody know how to fix it?</p>