Hello, in the latest 1.2 SVN,  I can't get validation to work.  Well,
it is working, the empty fields are being flagged as they should be
for not meeting cake's regex constants, but my tagErrorMsg definitions
aren't spitting out their messages.

I did a search, and found it on line 1685 of model.php  What I did, is
changed 'This field cannot be left blank' to '1'.  It works now, but
I'm thinking maybe tagErrorMsg is used differently now.

Here is an example of how I've been using it, and it works when a
flagged field is set to '1' instead of that 'this field cannot..."
sentence.

echo $html->tagErrorMsg('User/username', '<span class="error">Please
enter a username.</span><br />');


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to