title: Disable Required Field Validator based on RadioButton Check
body: <p>The code should enable to false when radiobutton value ==2. But every time I click Submit button it prompts me with the RequiredFieldValidator for the LastName textbox.</p>
  
  <p>Thank you!</p>
  
  <pre><code> $('#&lt;%= rblIndOrg.ClientID %&gt;').change(function() { 
                  if ($('#&lt;%= rblIndOrg.ClientID %&gt; input:checked').val() == "2") { 
                      $('#&lt;%= tbLast_Name.ClientID%&gt;').val(""); 
                      $('#&lt;%= tbLast_Name.ClientID %&gt;').attr("style", "display: none;");
                      $('#lblLast_Name').attr("style", "display: none;"); 
                      document.getElementById("&lt;%=rfv_tbLast_Name.ClientID%&gt;").enabled = false; 
                  } 
                  else { 
                      $('#&lt;%= tbLast_Name.ClientID %&gt;').attr("style", "display:inline;"); 
                      $('#lblLast_Name').attr("style", "display: block;"); 
                      document.getElementById("&lt;%=rfv_tbLast_Name.ClientID%&gt;").enabled = true; 
                      }
              }); 
  </code></pre>