Is it possible to determine where the error class gets added?
 
for example:
 
<fieldset>
 <ul>
  <li><?php echo $form->input('User.password', array('label' =>
'Password:')); ?>
          <p class="form_hint"><span class="bold red">Required:</span>
Password must be minimum of 8 characters.</p></li>
  <li><?php echo $form->input('User.username', array('label' => 'Select a
Username:')); ?>
          <p class="form_hint"><span class="bold red">Required:</span>
Username can never be changed.</p></li>
 
 </ul>
</fieldset>
 
So if a field fails i would like to add the error class to the <li> so the
entire row gets the error class like <li class="error">   
 
Thanks  
 
Dave 

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to