One of our companies has a SquareSpace website and we're trying to embed a form into a SquareSpace page.
The form worked fine but when pushing it live and adding it to the navigation, I noticed that the Marketo form doesn't show up unless you refresh the page. I couldn't find any document about that. Did anyone have experience the same issue, and if so, how did you resolve it? We're trying to avoid having to redirect people to a Marketo LP, we want all our forms to be embedded on the website directly.
Thanks in advance,
Is it possible to get Ajax-enabled code for forms from Marketo?
"Ajax-enabled" is not an actual thing (it's a rather nonsensical expression coined in that forum post).
Do you mean "local JS that dynamically injects the forms2.min.js <script> and dynamically creates a <form> element"?
Thanks for the quick response. I'm not a developer so pardon the pseudo-terminology; the Squarespace forum is the closest thing I've found to a solution to this problem.
Would "local JS that dynamically injects the forms2.min.js <script> and dynamically creates a <form> element" solve the problem with forms not displaying on Squarespace until after the page is refreshed? If so, then yes, that's what I want!
I don't know but I will find out (the site belongs to a client of my client, so I am a few steps removed from checking directly).
In the meantime, the template ID is 55f0aac0e4b0f0a5b7e0b22e in case that is useful. It looks like a number of themes all share that template ID.