Jump to content

Embedding Survey Monkey Java Script - bad code?

Recommended Posts

Site URL: https://michonbostongroup.com

I want to embed a Survey Monkey form on a Squarespace page. I copied the javascript code for the form from Survey Monkey, created a page, added a code box and added the code. Javascript was checked. However Squarespace only displays the code when I close the code window.  It will not display the form.

Can anyone shed any light on this or recommendations?

Thank you.

Link to comment
  • Replies 1
  • Views 543
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

3 minutes ago, Michon said:

I want to embed a Survey Monkey form. I copied the javascript code for the form from Survey Monkey, created a page, added a code box and added the code. Javascript was checked. However Squarespace only displays the code

I imagine the code provided is HTML, not JavaScript (JS). If you see <script> then it's HTML, which may have JS (or a link to JS) within it.

Change the Code Block setting to HTML and try again. 

Edited by paul2009
edited for clarity

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.