Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Webform Remote Fields

Security covered Under active development 29 sites

Part of the Webform ecosystem · 217 projects

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

Drupal 9–11

Ask your assistant about Webform Remote Fields

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
20
Tracked since
Nov 2023
Latest release
4 months ago
Releases (12 mo)
1 ▼ from 4
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-alpha11 Pre-release 9–10 Nov 22, 2023
1.0.0-alpha10 Pre-release 9–10 Nov 22, 2023
1.0.0-alpha9 Pre-release 9–10 Nov 20, 2023
1.0.0-alpha8 Pre-release 9–10 Nov 20, 2023
1.0.0-alpha7 Pre-release 9–10 Nov 17, 2023
1.0.0-alpha6 Pre-release 9–10 Nov 16, 2023
1.0.0-alpha5 Pre-release 9–10 Nov 13, 2023
1.0.x-dev Dev 9–10 Nov 13, 2023
1.0.0-alpha4 Pre-release 9–10 Nov 9, 2023
1.0.0-alpha3 Pre-release 9–10 Nov 7, 2023