Jump to content

JavaScript snippet for custom online forms

Recommended Posts


I have a snippet of JavaScript to add as well as a code to copy and paste in order to make my custom forms come to life on my website (for newsletter subscription) related to my Mailer Lite account, but it isn't working.

I saw on the guides of SquareSpace that:
- I must display JavaScript code as text by default ;
- switch the Display Source toggle on in the code block ;
- surround the code with <script> </script> tags ;

but it doesn't work. I need help but SquareSpace Support is unable to help me with JavaScript issues.

Anyone knows how to make this work? Thank you in advance.

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

It will help us if you provide details of the code you are using, as well as a working link to the site.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.