Sample of beforeSave

Commented out. Not currently using this method. It is a sample that Musti did in order to show me how to deal with a virtual field before saving an object