Add checks on input for custom share link