Jump to content

Issue with jquery clone

Recommended Posts

Good morning, I am having an issue with a form on one of my sites since the last update. For some reason since the last update, I can not get any form that has been cloned via the jquery $().clone() function to send info. I don't get any error the form just doesn't send. Has anyone else had this issue? 

Link to comment

I don't not have a solution.

The issue is most likely that the new forms are built with React. React handles forms in it's own way that doesn't rely on how normal forms are handled. When you clone with jQuery I'm guessing that critical React bits aren't being copied.

As an experiment you could try the deep copy option of the clone method but I'm dubious even that will help.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.