hide submit button if enter method is enabled