I did this by adding 'required' => false, 'allowEmpty' => true in my validation array
On Mar 7, 8:32 am, Kyle Decot <[EMAIL PROTECTED]> wrote: > I want to have an optional field in my form but I also want to > validate it if they do decide to fill it in. How would I do this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
