How to stop collected-forms from collecting a form
Oct 28, 2019 11:20 AM
We've been using Collected forms for a few years and I've noticed that as of August 2019 it appears that the collected forms script is now collecting form submissions for dynamically created forms that weren't present when the collected forms script loaded. The documentation is no longer correct with regard to this: https://knowledge.hubspot.com/forms/use-non-hubspot-forms
I have tried to add an event listent to to the form to prevent default on the event and I've tried changing the type of the button from "submit" to a a regular button based on what the documentaiton above suggests would cause a form not to submit but the form is still submitting.
How can I mark a form as not requiring collection by Hubspot collected-forms?