Added inputValidation for submitProtocol