Possible Duplicate:
jQuery Validation plugin - Validating hidden inputs and not visible?
I'm trying to validate a hidden text field for a specific word using equalTo, but it seems to be validating false. What's the right way to do this?
<input type="hidden" name="aImg" value="true" class="aImg">
$("#artcForm").validate({
rules: {
aImg: {
required: true,
equalTo: "true"
},
},