validations on update

Dear all,

I have created a model Admin and validated for the presence, format_of in alphabets, reg expression for email formats.

When i was adding a new admin the data's are validated properly but while updating the data in model it was not validated.

Could any one please suggest a way to proceed? how to perform the same validations while adding and modifying the model.

Thanks in advance

Regards, Jose Martin

Dear all,

I have created a model Admin and validated for the presence, format_of in alphabets, reg expression for email formats.

When i was adding a new admin the data's are validated properly but while updating the data in model it was not validated.

Could any one please suggest a way to proceed? how to perform the same validations while adding and modifying the model.

This should happen automatically (unless you specifically ask for it
not to). If you can show some code others might be able to offer
guidance.

Fred