Jump to content

sorca_marian

Circle Member
  • Posts

    620
  • Joined

  • Last visited

Posts posted by sorca_marian

  1. It looks like a code that submits a custom form.
    But it is not working at the moment. 
    To make it work, the characters " around it need to be removed and it should look like below
    Ideally, you should ask the developer who added it if it's still necessary.

    <script>
    function onSubmit(token){ 
    	document.getElementById("myForm").submit();   
    } 
    </script>

     

  2. Do you have any code in the global HEAD?
    The script tag appears to be inside a text tag. 

    If you haven't, contact Squarespace support because it might be a mistake in their code

    Screenshot 2024-03-20 at 18.48.09.png

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