Another query for you guys out there. I've been reading up on all the
multiple validation techniques today - got that part figured out, so
don't worry.

What I was looking for is a simple way to highlight when a form field
is invalid. Basically I want to be able to use a different CSS class
for when an error occurs. I've looked into the
FormHelper::isFieldError() - but that for some reason wasn't returning
anything at all, not even a true or false value as I understand it's
supposed to.

Even when I used the FormHelper functions to generate my form, errors
weren't being highlighted - did I misunderstand, is it actually
supposed to do this or not?

Maybe I'm just looking at things the wrong way.

Ultimately what I want is a panel at the top of my form listing all the
errors ($html->tagErrorMsg - that part works fine) - and each of the
affected input fields to be given a red border.

Any help please?

On an unrelated subject, I love how simple it is to do the AJAX stuff
with Cake :)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to