adding links to form snippets