Form onsubmit code + original behavior

Hi there,

I’m trying to store some form data inside a cookie right before it’s submitted but let the data be sent to Webflow (I have some Zapier zaps connected).

I checked some posts like this one and tried to fiddle with the code. Sadly I didn’t manage to do what I want and with the original code being minimized I’m a bit lost.

I believe the right way would be to unbind the form handling, execute my code and then manually launch the Webflow for handling, but I don’t see how to to the last part.

If someone could help me with that it’d be great!