Close a div on form validation - Webflow + Hubspot
resolver
Hi all,
I've been building in Webflow and have a Hubspot form inside a div (let's call it, 'Overlay-div') which is gating the content on the page.
I would like the 'Overlay-div' to hide once the form is successfully validated. I'm guessing I need to use some sort of Javascript but I'm a little lost.
Does anyone have any experience with this?
I've consulted StackOverflow to find some related Javascript but implementation is really confusing me at the moment.