added validation to create batch form when no batch type is selected