Support Webform composite fields

Created on 16 May 2024, about 1 month ago

Problem/Motivation

We have a contact form built with the Webform module, containing a name composite field.
Since this module checks only fields of type textfield and textarea, we end up in hundreds of spam submissions with text in the name fields that would normally be protected.

Proposed resolution

Add all sub fields of composite field types to the check.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany mrshowerman Munich

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @mrshowerman
  • Pipeline finished with Success
    about 1 month ago
    Total: 149s
    #174203
  • Issue was unassigned.
  • Status changed to Needs review about 1 month ago
  • πŸ‡©πŸ‡ͺGermany mrshowerman Munich

    Providing a first approach.
    This one currently does not support fields of type Custom composite which is a lot more complex, as it can contain sub fields that are not of type text. All other types are simply arrays of text fields, so they can be joined together just like it is done with normal fields.

Production build 0.69.0 2024