title: How to hide the next button on qualtrics until a text field is filled in with text?
body: <p>I have a survey with two questions on the page (one that is multiple choice) and one that is a text entry question. </p>
  
  <p>I want to hide the next button until the text entry question has been filled out but I've only been able to hide the next button indefinitely and it seems to not reappear after the text field has been filled in.</p>
  
  <pre><code>Qualtrics.SurveyEngine.addOnload(function()
  {   
      this.hideNextButton();
      (function() {
          $('form &gt; input').keyup(function() {
              var empty = false;
              $('form &gt; input').each(function() {
                  if ($(this).val() == '') {
                      empty = true;
                  }
              });
  
              if (empty) {hideNextButton ()} else {showNextButton ()}
          });
      });
  });
  </code></pre>