On Mon, Dec 22, 2008 at 5:50 PM, gearvOsh <[email protected]> wrote: > > I never use allowEmpty or required = true. Simply use the rule > "notEmpty" which means the field cannot be empty, thus required. And > if a field doesnt have that rule, its not required, it works perfectly > for me.
Okay, that helps. At least I know I don't _need_ anything other than the rule value. Of course, that makes me wonder even more about why the other keys exist and how they behave. I'll give the book another read. Maybe I missed something. Any idea what it takes to get the form helper to automatically populate the "required" class in the generated markup? Thanks for your help. -- Rob Wilkerson http://robwilkerson.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
