If length or word not valid, hide submit button.