I have included contact us form in cms block using below code

{{block class="Magento\Contact\Block\ContactForm" name="contactForm" template="Magento_Contact::form.phtml"}}

After submit contact form after thanks message not displayed.

  • where you called above static block ? – Pawan Jan 8 at 17:27
  • I call static block in footer section – Gagan Jan 11 at 7:51

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.