How to insert or embed a webform as a field display or block into a node or content type in Drupal 7

To insert or embed a webform, whether as a block, field display or another webform node in any content item node without any coding, any of the following options can work:

Entity Reference

  • Install and enable entity reference
  • Under Manage Fields, create a field as an entity reference type
  • Under Entity Selection, choose Simple, then check/select on Webform
  • Under Manage Display, select format Rendered Entity
  • Create your Webform (Add Content Item), then save
  • Create your Content Item (where the webform node will be inserted), then select the webform from the dropdown list provided by the entity reference field


Webform Enable Per Content Type

  • Edit your content type, then enable Webform

  • Create or Edit your Content Item (Webform tab is now available)

  • Click on the Webform tab, then create and save your webform node 


Insert Block

(less recommended due to known security issues)

  • Install and enable Insert Block module
  • Create your Webform node
  • Under Advanced settings enable webform as a block
  • Before you can use the insert block functionality, you have to enable or allow this for your editor by going to Text Formats > Full or Advanced > Configure > Enable Filters > select to enable Insert blocks
  • Create / Edit your content item, then for example to insert the webform block within the Body field, use the shortcode format as provided by the module

    [block:name of module=delta of block]

Leave a Comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To prevent automated spam submissions leave this field empty.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
1 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Get reliable web hosting services

Recurring donation

Make Donation

  • Other: $

Donate now

Single donation

Make Donation

  • Other: $

Donate now