Hi there,

I have 3 Input-fields and I would like to check, if at least one field
has data in it to store in the database.
Right now I have this code in my model:

 var $validate = array(
       'field1'   => VALID_NOT_EMPTY,
       'field2'   => VALID_NOT_EMPTY,
       'field3'   => VALID_NOT_EMPTY
 );

But with this validation the user has to type into all of these 3
fields and not only 1.

Thanks
Felix


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to