Webflow and google forms help

So I have a form on my site and I have hooked it up to a google form. Im just wondering if there is a way to stop it from going to the google form and show the success state of the form? Side note the code I have for the header tab section at the top also kicks you out of a box in the form when it switches. I have stopped this from closing the menu but don’t know how to stop it from effecting the form. Any help would be awesome!