I have a Users controller and model, and in the users_controller, I have an
edit function, where users can updates their email address or password. What
I'm trying to figure out is how I can validate say the 'email', and
'confirm_email' fields, or the 'password' and 'passwd' fields through the
model's validation rules, without it invalidating the whole thing because of
missing fields that aren't even in the form, it will invalidate the whole
password form based on the fact that there is no email entered, and vice
versa. Does anyone know of a way to just validate a select amount of data?

-- 
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s+: a19 C++++ UL++ P L++
!E W++ N(-) o? K? w(+) O? M-- V?
PS+ PE Y- PGP- t+ 5? X- R tv--
b++ Di D+ G+ e h! r y-
------END GEEK CODE BLOCK------

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

Reply via email to