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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.