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
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
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
Thank you Kris, that fixed it!