title: How can I control where the error message div is displayed in CakePHP forms?
body: <p>So I understand that CakePHP automatically loads the error message into the view if you validate it against the Model's validators. I am trying to setup a date dropbox validation, and I want to control where the error message shows up.</p>
  
  <p>Before submitting to validate form:</p>
  
  <pre><code>&lt;div class="input text required"&gt;
  &lt;label for="UserEmail"&gt;Email&lt;/label&gt;
  &lt;input name="data[User][email]" maxlength="50" type="text" id="UserEmail"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>After validating, error shows up here:</p>
  
  <pre><code>&lt;div class="input text required error"&gt;
  &lt;label for="UserEmail"&gt;Email&lt;/label&gt;
  &lt;input name="data[User][email]" maxlength="50" type="text" value="" id="UserEmail" class="form-error"&gt;
  &lt;div class="error-message"&gt;An email is required&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Is it possible to control it where I can have it show up here?</p>
  
  <pre><code>&lt;div class="input text required error"&gt;
  &lt;div class="error-message"&gt;An email is required&lt;/div&gt;
  &lt;label for="UserEmail"&gt;Email&lt;/label&gt;
  &lt;input name="data[User][email]" maxlength="50" type="text" value="" id="UserEmail" class="form-error"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Or here:</p>
  
  <pre><code>&lt;div class="error-message"&gt;An email is required&lt;/div&gt;
  &lt;div class="input text required error"&gt;
  &lt;label for="UserEmail"&gt;Email&lt;/label&gt;
  &lt;input name="data[User][email]" maxlength="50" type="text" value="" id="UserEmail" class="form-error"&gt;
  &lt;/div&gt;
  </code></pre>