Drupal is a registered trademark of Dries Buytaert

webform_remote_fields

25 sites No security coverage
View on drupal.org

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

Activity

Total releases
1
First release
May 2025
Latest release
9 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
2.0.1 Stable May 28, 2025