Webform Options by Bundle

Categories

Component ID

2253131

Component name

Webform Options by Bundle

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

756

Component created

Component changed

Component body

About

The Webform Options By Bundle module enables the Webform module to dynamically generate select list options based on the entity bundle. The options generated will be the entity labels, such as the node title if using a content type.

Use Cases

A common use case for this module would be to allow users who are contacting a business with multiple locations to provide feedback specific to one location. Because this module works with all entities and bundles, it does not matter if the location is represented by a node, taxonomy term, or another entity. By using this module to generate the select list options, the site administrator does not have to take the extra step of updating webform select list options if another location is added later.

Warning

The options in the select list are the labels of all entities that match that entity type and bundle. Therefore, it would be very unwise to select a bundle that contains many entites such as the "Node: Basic Page" bundle.

Sponsorship

This module is sponsored by VM(doh).