Display: Block
and the Success Message to Display: None
.Display: None
and the success message to Display: Block
.To hide a Webflow form after submission and display a confirmation div, follow these steps without interfering with Webflow's built-in form handling.
<form>
element itself).Display: Block
.Display: None
(this is the default behavior in Webflow).You can achieve this behavior without custom JavaScript by using Webflow's built-in Success Message and Form Submission Interactions. When the form is submitted, it automatically hides and only the success message is displayed.