Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Webform Remote Fields

41 sites Security covered Drupal 9–11 Webform ecosystem
View on drupal.org

This module adds custom webform elements that dynamically populate their options and values by fetching data from a remote REST API. It supports various field types like text, select, radio buttons, checkboxes, and hidden fields, allowing for flexible integration with external data sources for form building.

This module provides custom webform elements whose options and values are populated from an endpoint through REST services.

Webform Elements

  • Remote Textfield
  • Remote Select
  • Remote Radios
  • Remote Number
  • Remote Hidden
  • Remote Field Basic HTML
  • Remote Checkboxes

In order to use the elements above, you need to enable the Webform Remote Fields and if you want to check some examples you can also enable the Webform Remote Fields Examples.

Adding these elements to the Webform that you are working on is as simple as adding any other kind of element.
Regarding these elements, you must provide the following information.

These settings are required in order to make the request.
Quick note, the setting API JSON Prop - Text will appear only for Remote Select, Radios, and Checkboxes. This setting will be the label of the option.
In the setting: API endpoint you can also use an internal endpoint if needed, just start with [internal]/your-api-path

You can also use the current Webform fields as values on the request.
There is an option API uses values from other fields. Checking this option you can see the following fields.

In The API endpoint param name you gonna type the query parameter name expected by the rest service.
The other setting The API endpoint param value refers to which field on the current Webform will be the value to be sent on the request, here you just type the name of the field. You can also use another remote field here.

Any questions, please check the README which has a lot of information about using and extending the Remote Field elements provided by this module.

Additional Requirements

Similar projects

webform_remote_select

Depends on

Dependencies of the latest stable release

  • multivalue_form_element Drupal core
  • webform Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Oct 2024
Latest release
2 months ago
Releases (12 mo)
1 ▼ from 4
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.2 Stable 9–11 Jun 7, 2026
2.0.1 Stable 9–11 May 28, 2025
2.0.0-alpha4 Pre-release 10 Nov 2, 2024
2.0.x-dev Dev 9–11 Nov 2, 2024
2.0.0-alpha3 Pre-release 10 Oct 29, 2024