I have a form in webflow with a custom action parameter to sign people up to my list in Mailchimp. On submit, I show the Success/Error Messages provided by webflow. This works great.
The problem is that I’ve changed to ConvertKit. I’ve updated the action URL and the inputs, but now when I submit, instead of showing the Success/Error messages, I receive a JSON response and the browser renders it instead of remaining on the current page.
Is there something I can do to get the new form to behave like the old one?
I ended up adding this script to my page before the </body> tag and it worked. To do it, go to Pages | Click the gear icon next to your current page | scroll down until you see the Custom code section.
Hey! I was looking at this for submitting a POST action to Zapier, and for anyone else looking for a solution, I realized I was getting this error message in the console:
Based on that, I realized that the part of the custom code that limits the data type was the issue. So deleting this line in the aforementioned code corrected the form error for me:
I’m still looking for a solution to this. I’m now using an alternative to Mailchimp (Brevo) and suddenly I can’t show the success state after submitting a form.
Is there a way to do this without custom code? If not, I’m happy to try alternative solutions with code. (The code earlier in this thread doesn’t seem to work).
For anyone looking at this in the future - I’ve made this solution that really easily allows you to send form data wherever you want, without messing with the front-end side of Webflow’s form behavior.
Just add the one script, and an attribute to your form, and you’re good to go!