Drupal 9 adding a reCAPTCHA element to a webform
Andrew Fletcher published: 21 June 2022 (updated) 1 July 2022 3 minutes read
JSON structure
Outlining the structure of the elements common attributes: type, title, name and required;
Text area
{
"type": "webform_multiple",
"title": "What's new?",
"name": "what_s_new_",
"required": false
}
Text field
An additional attribute for the text field is maxlength