On Dec 15, 2007 2:34 PM, stefuNz <[EMAIL PROTECTED]> wrote: > > Hi! > > I want to use validation for the following situation: > > I have a select field (field1) with options a,b,c > If field1 is a or b then field2 and field3 may not be empty (text > fields) > if field1 is c then field4 may not be empty ... > > is there a way to use the validation for this or has it to be > "manually"
Sounds to me like it is definitely custom validation, which means you'll have to do it "manually". Luckily it's very easy to do it. http://tempdocs.cakephp.org/#TOC121877 Hope that helps. -- Chris Hartjes My motto for 2007: "Just build it, damnit!" @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---