> IF it doesn't have to be present, its NOT a required field ;-)
>
> To make CakePHP add the required classes you must include the addition
> rule "required"=>true
That's exactly the problem: From a model point of view, the field is
NOT required, but from a form point of view, it IS required.
I think the form logic has a problem detecting if a field is required
or not, when one field have multiple validation rules.
Regards
Jonathan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---