Recommended releases

Download Released

This module will let you populate a webform select component with data from a
view.

Requirements

This module requires the following modules:

Installation

Usage

  • Create a new view at

    • Create a "Webform Options" display
    • Select the Webform Select List format
    • Add the fields you want to use as key and value
    • Filter and sort as needed
    • In the format settings, select the field to use as key and value.
  • Create or edit a webform at admin/content/webform.

    • Add a Select Options component to the webform. You should see the new
      view in the list of options under 'Load a pre-built option list'.
  • Notes:

    • Do not disable this module if there are webforms that use a view from this
      module for the Select Options component. It will break the component on those
      webforms.
    • The list of options will be loaded on demand from the database, and is not
      a hard coded list. This means:
      • When the form is viewed, the component will get its data directly from the
        database, using the view.
      • If a selected item is removed from the database, or excluded from the view
        results, you will no longer see that item in the webform results.

Documentation

Additional documentation is located in the Wiki:
https://github.com/backdrop-contrib/webform_views_select/wiki/Documentation.

Issues

Bugs and Feature requests should be reported in the Issue Queue:
https://github.com/backdrop-contrib/webform_views_select/issues.

Current Maintainers

Credits

License

This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.