Hey guys,
I have a problem ?!?!

In my user table I have a field password.

I want it to be REQUIRED on "add" action, while I want it NOT-REQUIRED
on edit actions.

Namely if the field is left blank on "edit" it's value doesn't get
changed in DB, an no errors are displayed.

How can I achieve this?
How can I tell my model in which action I am?

Cheers dan


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