problem changing property before save

Hi all,

I am building a registration form with lots of fields. I’ve got two password fields. One is a repeat password. All is fine except that when all is validated I would like to md5() the password. It only works as anticipated if all fields are valid. If however either of the other fields does not pass validation the application loads the md5() version of the password in the password field. What do I need to do or which tutorial I need to read to learn how to achieve that. I am using 1.1 and am pretty new with frameworks. I tried to read about events but couldn’t figure out how to use events.

Your advices would be very helpful.

Thanks in advance

Regards,

B.

http://www.yiiframework.com/forum/index.php?/topic/3886-jformvalidate-extension-validate-required-field-even-when-it-shouldnt/page__p__21875&#entry21875

Excellent. Thanks Mike. I don’t know how I’ve missed that post.

Cheers,

B.