I finished a quick mockout of the code for my article. I am still
adding the finishing touches, but you can get the idea.

The one main change I hope to make by the time this gets read is to
handle all the logic upfront, and only once, instead of for each
field.

So here it is.. Validating dependent fields in CakePHP... THe dreaded
OR rule
http://edwardawebb.com/programming/php-programming/cakephp/validating-optional-fields-cakephp-dreaded-scenario

On Feb 11, 11:07 am, WebbedIT <[email protected]> wrote:
> Sounds like a more elegant approach than mine .. look forward to the
> article :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to