title: cakephp form validation success class/message
body: <p>I'm using cakePHP with its default model validation. On error cake add the class "error" to my container div. Great! But what about if everything is entered correctly but one form element? I would like the inputs that are correct to receive the class "success" (and maybe a message or icon telling my user how awesome they are).</p>
  
  <p>Here is my form create code:</p>
  
  <pre><code>echo $this->Form->create('User',
          array(
              'class' => 'form-horizontal',
              'inputDefaults' =>
              array(
                  'format' => array('before', 'label', 'between', 'input', 'error', 'after'),
                  'div' => array('class' => 'control-group'),
                  'label' => array('class' => 'control-label'),
                  'between' => 'div class="controls">',
                  'after' => '/div>',
                  'error' => array('attributes' => array('wrap' => 'span', 'class' => 'help-inline')),
                  )
              )
          );</code></pre>