Redirecting after form submission.

Squarespace 7.1 & 7.0


 1. Upload the file to the main side navigation — https://support.squarespace.com/hc/en-us/articles/205814758#toc-link-to-a-file

Copy the link.

link1.png

2. Add the code bellow with following changes:

  • Paste the file link inside [href=”your-link"] attribute.

  • Paste the file name inside [download=”your-file-name"] attribute.

<a href="your-link.pdf" download="your-file-name" target="_blank" id="download-pdf"></a>

<script>
  document.getElementById('download-pdf').click();
</script>
link2.png