onFormSubmit event.data returns object instead of array
SOLVE
I agree that is pretty weird. I've never seen that before. Have you tried to contact support. I imagine they might say it's custom code and to post here, but it's worth a shot.
Notice the ?pre=1 on the js file. Try removing that and see if it makes a difference as it's not on your working example. I think they maybe are making changes to the JS and that is toggling the new vs the old.
If that fixes it, I'd report it to support as a bug.
onFormSubmit event.data returns object instead of array
SOLVE
Wow I actually wish it returned an object and not an array, that's weird. Do you have jQuery on your page? I know that other post was talking about an empty object, but just crossing t's here.
onFormSubmit event.data returns object instead of array
SOLVE
Thank you for your quick answer, Lee.
I do not think jQuery is the problem, here is why.
This is the form on my test site, no jQuery (however I did test it with jQuery on it). On this test site, it does return the array as expected.
This is live site form (you need to click the first option to open the form). Live site does have jquery. But it is returning an object instead of an array. 🙃. I am lost with this, we have a workardound applied but I want to make sure this doesn't break in the future.
onFormSubmit event.data returns object instead of array
SOLVE
I agree that is pretty weird. I've never seen that before. Have you tried to contact support. I imagine they might say it's custom code and to post here, but it's worth a shot.
Notice the ?pre=1 on the js file. Try removing that and see if it makes a difference as it's not on your working example. I think they maybe are making changes to the JS and that is toggling the new vs the old.
If that fixes it, I'd report it to support as a bug.
It looks like v2.js?pre=1 is a variant of the working version v2. Are you running an experiment? It is possible to see pre=1 version deployed in the future?