title: How can I hide the contact form and shows "sent!" after successful sending
body: <p>I'm using Contact Form 7 plugin in a WordPress template. I created the form and the related CSS, so everything is working fine. I need to do the following, when I click the send button and I have a successful sent email. the form should disappear and shows "Sent!" instead of that. I need to know the code that I need to change. Please see the photo that shows what I like to do</p>
  
  <p><img src="https://i.stack.imgur.com/pI0LR.jpg" alt="enter image description here"></p>