validate lecture form