I use the below code in a CMS block to show the default magento contact us form.
<p>{{block
class="Magento\Contact\Block\ContactForm"
name="contactForm"
template="Magento_Contact::form.phtml"}}</p>
Just wondering will there be a core way to enable captcha in the form?
Best Answer
In order to add CAPTHA to a Contact Us form you have to go to Stores -> Configuration -> Customers -> Customers Configuration page and Enable CAPTCHA. Make sure to select Contact Us value in Forms field.
Once you update configuration, clean cache.
Hope it helps.