title: How to show message in hidden field using jQuery?
body: <p>I have an input field that stores vales for checking a condition.I changed this to hidden: if the condition is false I need to show a message.</p>
  
  <p>If the field is hidden,the message is not shown.</p>
  
  <p><strong>html</strong></p>
  
  <pre><code> &lt;input type="hidden" id="year1_req_fund_hidden" name="year1_req_fund_hidden"&gt;
  </code></pre>
  
  <p><strong>jquery</strong></p>
  
  <pre><code>#wizard5').validate(
  {
    rules: {
  
         year1_req_fund_hidden:{
                      //required:true,
                       number:true,
                       validate_check: [$('#year1_grand_amt').val(),'1'],
                      },
            }, 
   });
  
  
   $.validator.addMethod("validate_check",
    function(value, element, params) {
    if(params[0]!=''){
    if(value == params[0]) {
       return true;
       }
     }
    },
   $.format("The total amount requested does not match with grant amount {0} requested in Q1.11 in year {1} .")
  
    );
  </code></pre>