Jump to content

HTML code not working - direct copy between two Squarespace sites

Recommended Posts

Posted

Hi, I have some custom html code that works as shown here: www.highnorth.co.uk/critical-power-calculator.  Essentially, a user inputs a few values, and then there is some JS code that calculates outputs automatically. 

I have directly copied the code onto a second website I have. Both are Squarespace version 7.1.  However, the code is not working properly. The form renders correctly on the second website (i.e. the form looks correct). The user can also input values. However, the outputs aren't generating automatically. I can't figure out why. It seems as though the JS code isn't working properly, or something is blocking the page from generating the outputs. 

Does anyone have any ideas what might be happening. I looked into switching AJAX loading off, which I read can interfere with the code, but I don't think that's an option in version 7.1. 

Thanks!

  • Replies 2
  • Views 79
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Just to add also, that the page on the original site (the one that's working) was made under Squarespace 7.0, before the whole site got upgraded to 7.1. So I think it's maybe something to do with the change of versions?

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.