title: JQuery - Removing validation for a single text box
body: <p>I have a set of text boxes for which validation has been done using JQuery.
  We are validating any input of type "text" for using the function:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>eventValidation.validate = function () {
          var success = true;
          $('#modalEditBody input:text').not('.multiselect-search').each(function () {
              if ($(this).val().length &gt; 1) {
                  $(this).parent().find('.glyphicon-exclamation-sign').removeClass('show').addClass('hidden');
                  $(this).parent().removeClass('has-error');
              } else {
                  $(this).parent().find('.glyphicon-pencil').addClass('hidden');
                  $(this).parent().find('.glyphicon-exclamation-sign').removeClass('hidden').addClass('show');
                  $(this).parent().addClass('has-error');
                  success = false;
              }
          });</code></pre>
  </div>
  </div>
  </p>
  
  <p>I need to remove this required field validation only for a single text control.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input id="removefield_validation" class="" type="text" value="some_value"&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Please suggest any way to resolve and remove required field validation only for this text box.</p>