client side link validation working