Guest Posted April 9, 2020 Posted April 9, 2020 Site URL: https://www.griduk.com/contact I want to be able to put an email validation check into my forms so that I can ensure any form submissions are from work email addresses and not '@gmail.com' etc. How can I do this? I assume I will need some custom code to place in the code injector within Squarespace's back end?
KyleHenderson Posted October 30, 2020 Posted October 30, 2020 I would also like an answer to this question. minpef 1
paul2009 Posted October 30, 2020 Posted October 30, 2020 On 4/9/2020 at 2:09 PM, Beni said: I want to be able to put an email validation check into my forms so that I can ensure any form submissions are from work email addresses and not '@gmail.com' etc. It is possible to block selected domains with some JavaScript, added through Code Injection. The exact code will depend on the specifics of the form and the addresses that you want to block. The list of free email domains is long and constantly changing so it will be difficult to "block form submissions from free email domains" as you asked in your question. Can you explain WHY you want to block these? There may be better ways to achieve your required outcome. Eleve1 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
KyleHenderson Posted October 30, 2020 Posted October 30, 2020 (edited) I am receiving too many submissions from individuals with gmail accounts that are not qualified business leads. I'd like to start by blocking gmail submissions to see if that alleviates the poor or unqualified sales leads my site is collecting. Edited November 2, 2020 by KyleHenderson minpef and MrLunch 2
Eleve1 Posted October 16, 2023 Posted October 16, 2023 Can you please suggest a solution for this? We want to exclude spam coming from @gmail.com
JustMatt Posted June 4 Posted June 4 On 10/30/2020 at 7:11 AM, paul2009 said: It is possible to block selected domains with some JavaScript, added through Code Injection. The exact code will depend on the specifics of the form and the addresses that you want to block. The list of free email domains is long and constantly changing so it will be difficult to "block form submissions from free email domains" as you asked in your question. Can you explain WHY you want to block these? There may be better ways to achieve your required outcome. Because, Paul, moments after opening my website, without advertising it, I am seeing the trickle of unsolicited spam messages come in, offering to re-do my website and tweak it for SEO. These have been from gmail.com email addresses. I, and I am sure some others, are not marketing our services to individuals with gmail, yahoo, yandex, etc. MrLunch 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment