admin - more work on trainer

added some new conditional logic to the form events handler as well.
Merge branch '201342' of https://github.com/zoovy/AnyCommerce-Development into 201342