On Apr 27, 1:28 pm, "R. Rajesh Jeba Anbiah"
<[EMAIL PROTECTED]> wrote:
FWIW, it seems that I have patch to keep the allowEmpty as
expected (optional). I think, allowBlank patch is unnecessary which is
found at
<https://trac.cakephp.org/attachment/ticket/2092/allowBlank.patch>
1. libs/model/model.php:
Patched allowEmpty and other weird things to show the right
messages
2. libs/view/helpers/form.php
i. "required" class is added correct for div (yet to do for
input) tag
ii. validation rules are rendered in class in JSON for unobtrusive
JavaScript validation
3. scripts/bake.php
Support for 1.2 validation methods
4. libs/validation.php
Dirty fix for empty regex
Patch is at <http://groups.google.com/group/cake-php/web/cake-
validation.patch>
If anyone can test and tell if it's working fine, I can report to
trac. TIA
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---