adding validation to link share form