The answer depends on exactly what you're doing at the time.

Within your validation rules you can specify if the rule applies on
add or edit.

Or you can alter the models validation array from with the controller
by calling unset($this->ModelName->validate['fieldName']); or
something similar.

Also, by not including the field in the data array cake will not try
to validate it.

Which one to use depends on what it is you're trying to do.

HTH

Paul

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to