Screenshot-3.png

Webform Node Element is a module that allows you to include node content in a webform without using the PHP input filter.

Drupal 8:

After installation, a node element is available in the webform UI and this allows you to specify the id of the node to be displayed.

An event is dispatched prior to rendering the element - this gives other modules the opportunity to set the nid and display mode to be used at runtime. The included example module, webform_node_element_example demonstrates this.

Drupal 7:

After installation, a node component is available in the webform UI and this allows you to specify the id of the node to be display and the display mode (teaser or full).

If the ctools module is present, node selection automatically turns into an auto-complete text field.

Supporting organizations: 
Drupal 7 version

Project information

Downloads