This topic has 4 replies, 2 voices, and was last updated 1 years, 8 months ago ago by Rose Tyler
Hello. The contact form currently accepts email with single letter domain extension (for example email@domain.c). Can you tell me where I can find the validation function so I can change the code to reject this particular case?
I tried to search the forum for this topic and I found some answers, but I couldn’t find the location of the code.
Thanks.
Hello, Mircea,
Thank you for reaching out to us.
Do you mean the contact form created by the Contact form 7 plugin?
Kind Regards,
8theme team
Yes. I tried editing functions.php by adding the validation code, but it doesn’t work, so I’m assuming there is a script that is overriding this.
Hello, Mircea,
Thank you for your response. This plugin is free and its features are not dependent on our theme. We suggest that you contact support here for further assistance – https://wordpress.org/support/plugin/contact-form-7/
Kind Regards,
8theme team
Tagged: array, best, domain, email, extension, invalidate, json, letter, persuasive, selling, single, themes, woocommerce
The issue related to '‘invalidate email with single letter domain extension’' has been successfully resolved, and the topic is now closed for further responses