Jump to content

Auto opening a pdf after form submission

Recommended Posts

I have a form clients submit in order to open a pdf of prices.  I had some code in post-submit which used to open the pdf automatically after submission.  However, it stopped working.  Now I've had to add a message which appears for clients to click to open the pdf.

Can anyone share some code to open the pdf automatically in a new tab/window?

Thanks

Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

If you link the PDF in the post-submit URL redirect then it should open automatically when the form is submitted.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.