validates link text field