(Squarespace) Click Image - Open Form Popup

To make Form Popup appear when users click an Image, you can follow these.

#1. First, create a Page in Not Linked.

With Name/URL: Content Lightbox – /content-lightbox

#2 . Edit Content Lightbox page > Add 3 Forms > Then find ID of 3 Forms

In my example, we will have:

  • Form 1: #block-yui_3_17_2_1_1740194891538_7640
  • Form 2: #block-da4d2bf8093364e61571
  • Form 3: #block-da08004027c8ede46324

#3. Edit Images where you want to make Form Popup appear > Edit 3 Images > Add URL > Use this URL format.

Make sure β€œOpen in New Tab” is disabled

Image 1: #wm-popup=/content-lightbox#block-yui_3_17_2_1_1740194891538_7640

Image 2: #wm-popup=/content-lightbox#block-da4d2bf8093364e61571

Image 3: #wm-popup=/content-lightbox#block-da08004027c8ede46324

#4. Install Popup Plugin

Plugin will give you some code to Code Injection > Header

and Footer

#5. Result

When users click Image 1 >> Form Popup 1 will appear

When users click Image 2 >> Form Popup 2 will appear

When users click Image 3 >> Form Popup 3 will appear

1 Like

@tuanphan,

:heart: :heart: :heart: