Close / Hide Form Automatically On Submit

Hi Kimmy,

Thank you for the answer. I got the idea. Thanks. Haven’t thought of adding it simply as an interaction on the button. I did it and it worked well but the downside of this is that it would remove the form even if you just click on this button without submitting information. Even if for example the email field is mandatory, and you didn’t fill it, pressing on the button would remove the form from the screen. So if someone clicked on the button by accident, the form will disappear.

Do you think you have other ways with custom code?

Thank you.

https://preview.webflow.com/preview/formblockclose?utm_medium=preview_link&utm_source=designer&utm_content=formblockclose&preview=34d5f88d66b7af2b403f54ffd63eb114&pageId=6042c6df84622c950c705c3b&mode=preview