Validation on create/edit traineeship (does not look good, but works)