I created a contact form in Drupal 8 and would like to use that form on several pages across my website. Can I do something like Insert / Form or use some sort of shortcode to display the form?
1 Answer
Create a block for your theme with formblock and in visibility settings of your block put it where ever you want.
-
Thanks for the hint. I installed Form Block, but I'm not sure where to look for the checkbox to enable add as block. The documentation says "Go to the admininstration page of the contenttype from which the 'add' form should be made available as a block.", but that's not very helpful. Where should I look for it?– OndrejCommented May 30, 2016 at 13:22
-
-
Understood, but where exactly are those? If I open a contact form, I see Edit, Manage fields, Manage form display, Manage display, Translate, Devel. None of these includes the checkbox.– OndrejCommented May 31, 2016 at 5:49