• Resolved lijndiensten

    (@lijndiensten)


    Hello there,

    The new antispam features are most welcome! I tried to configure a contact form to only allow for certain domains with the below on the Allow list for the email field:

    Despite these setting, I can still submit forms with email domains other than the ones listed (say, [email protected]).

    Let me know, thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @lijndiensten

    I hope you are doing well today.

    Based on your screenshot, it seems you typed TLDs, not domains or emails. Please note that with this new feature, you can block specific email addresses or domains, not specific TLDs.

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#filter-email-providers

    Kind Regards,
    Kris

    Thread Starter lijndiensten

    (@lijndiensten)

    Hello Kris, thanks for the quick reply! The description at the email field in the plugin mentions the possibility of filtering by TLD:

    Enter email addresses and domains to allow, separated by commas. Use * for advanced filtering. E.g., [email protected], @example.com, *.com, admin@*, hr@*.com learn more.

    In any case, it would be convenient if filtering by TLDs is possible. Spammers use random mail domains (gdn.rue, dic.djm, etc). Only allowing TLDs seems the most efficient way to block these.

    Best,
    Ivan

    Hi @lijndiensten

    I apologize for the misunderstanding. It should also block TLDs. I have made a quick test on my lab and everything works as it should, and I see an error message as soon as I type a different TLD, which is not on my allow list, I see this error:

    This email is not allowed. Please use a different one.

    Please export your form, upload it to Google Drive or use Pastebin, and share a link in your next reply so that we can test it on our side.

    Kind Regards,
    Kris

    Thread Starter lijndiensten

    (@lijndiensten)

    Hello Kris, see https://pastebin.com/hs6xSyqT. Thanks!

    Hi @lijndiensten

    I was able to narrow down the main issue, which is an additional comma at the end (after .de). As soon as that comma is removed, all works fine. Please test it on your side.

    Also, not sure how that comma was added there, but after additional tests on my lab site, I’m not able to add and save such an additional comma.

    Kind Regards,
    Kris

    Thread Starter lijndiensten

    (@lijndiensten)

    Thank you Kris, that fixed it!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Allow list ignored when submitting form’ is closed to new replies.