Jump to content

Code to automatically close form lightbox once data submitted

Recommended Posts

Site URL: https://www.devonmind.com/training/mental-health-first-aid

Hi there,

I have several contact forms on my website which I have opening in lightboxes. Is there a way to add code that will close lightboxes automatically once data has been submitted by the user? Either in the post-submit HTML or code injection I guess.

Just click "Register your interest" on the link above to see an example. Entries just go to me, so feel free to test.

Thanks in advance! 


Edited by andrepusey
Link to comment
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.