Jump to content

I have a lightbox form. How can I run a jquery within a lightbox?

Recommended Posts

I have a script that executes within a form perfectly fine when the form is on the webpage, but as soon as I switch the form to a lightbox, the jquery stops executing. Anyone know how to make it compatible?

Link to comment
  • 11 months later...
  • Replies 1
  • Views 748
  • Created
  • Last Reply
On 7/12/2019 at 5:22 AM, Veronica684 said:

I have a script that executes within a form perfectly fine when the form is on the webpage, but as soon as I switch the form to a lightbox, the jquery stops executing. Anyone know how to make it compatible?

Hi Veronica684,

Let's send us the current site implementation to check what went wrong, I think the form elements in lightbox is unavailable when the script init

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.