Hey,

the default form error output is this:

<div class="input text required error">
<label for="PostTitle">Title</label>
<input id="PostTitle" class="form-error" type="text" value=""
maxlength="150" name="data[Post][title]">
<div class="error-message">This field cannot be left blank</div>
</div>

I would like to modify the enclosing div with a new class:

<div class="input text required error FORM-FIELD">
<label for="PostTitle">Title</label>
<input id="PostTitle" class="form-error" type="text" value=""
maxlength="150" name="data[Post][title]">
<div class="error-message">This field cannot be left blank</div>
</div>

In the docs is only the option for modify the div with the error
message in it...

Is there a way to achieve this?

Regards,
Cronet

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to