title: Joomla form validation missing error message
body: <p>I am trying to develop my first component for Joomla. I have installed Joomla 3, and things are going pretty good.</p>
  
  <p>I want to add a form validation (client side) on the frontend, where I have a submission form.</p>
  
  <p>My code is:</p>
  
  <pre><code>&lt;?php
  // No direct access to this file
  defined('_JEXEC') or die('Restricted access');
  
  // Add form validation
  JHTML::_('behavior.formvalidation');
  ?&gt;
  &lt;form class="form-validate" id="myForm" method="post"&gt;
     &lt;input name="email" type="text" class="required validate-email" size="30" /&gt;
     &lt;button type="submit" class="validate"&gt;Submit form&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The validation works, but does not show any message error - just a field. The HTML for the error field is:</p>
  
  <pre><code>&lt;div id="system-message-container"&gt;
     &lt;div id="system-message" class="alert alert-error"&gt;
        &lt;h4 class="alert-heading"&gt;&lt;/h4&gt;
        &lt;div&gt;&lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So, how do I add text to the validation? Do I need to create a language file for my component?</p>