Possibility to configure spam words directly in the field

Created on 25 February 2022, about 3 years ago
Updated 20 March 2025, 16 days ago

Problem/Motivation

Now, we add spam words globally and we add some fields to the configuration. But if we want some words for a field and some other words for another field, it's not possible.

Proposed resolution

So I think it would be great to can add the spam words directly to the field we want, or if not possible, can add other couple of words and fields, like "Add another" in the content type fields.

User interface changes

Add a button "Add another" with the same form.

Data model changes

It need probably some change in the data model but I don't what.

✨ Feature request
Status

Active

Version

3.0

Component

User interface

Created by

πŸ‡«πŸ‡·France bessonweb

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Pipeline finished with Failed
    16 days ago
    Total: 263s
    #453599
  • πŸ‡«πŸ‡·France berramou

    I moved the development I did in this merge request https://git.drupalcode.org/project/webform_spam_words/-/merge_requests/13 here, but it seems to me that it's not exactly the same feature.

    What I did was move the configuration to the webform level, so each webform should have its own spam words. However, the feature requested here is at the field levelβ€”for example, the message field could have some spam words, while the subject field could have different ones.

    I'm not sure what the best way to proceed is: should I update the issue description to cover both features, or should I move the "Moving config to webform level" feature to a separate issue?

  • Pipeline finished with Failed
    15 days ago
    Total: 180s
    #454558
  • πŸ‡«πŸ‡·France berramou

    Now each field has its own spam words.
    The module adds a configuration for each field of type (Text field, Textarea, and Text format) to check if other field types will need spam words too.

  • Pipeline finished with Failed
    15 days ago
    Total: 154s
    #454563
  • Pipeline finished with Canceled
    15 days ago
    Total: 156s
    #454566
  • Pipeline finished with Failed
    15 days ago
    Total: 162s
    #454567
  • Pipeline finished with Failed
    15 days ago
    Total: 171s
    #454577
  • πŸ‡«πŸ‡·France bessonweb

    Thanks for your work @Berramou ! I will try this very soon.

  • πŸ‡«πŸ‡·France berramou

    You are welcome, glad that i helped!
    Test the hook update too that migrate the old config to new structure.

  • Pipeline finished with Failed
    10 days ago
    Total: 142s
    #458339
Production build 0.71.5 2024