title: Simple form validation in Sencha Touch
body: <p>I've seen several examples of form validation in Sencha Touch, but all seem overly complex for what I want to do. I don't need a model or store, as the fields in question will be handled server-side. Is there any easy way to simply check if the field in a form is populated before submitting it?</p>
  
  <p>I've tried</p>
  
  <pre><code>if (myForm.getComponent('fieldset').getComponent('myField').length == 0)
  {
      /// Do something
  }
  </code></pre>
  
  <p>but the condition isn't met even when the field is empty. No JS errors in the console.</p>