0

I use jQuery Validate in my contact form which sends all data to a CRM (Zoho CRM) and I have received a lot of spam. It's very common some email domains like "mail.ru" (probably are temporary email addresses) and others, then, I would like to avoid spam in CRM by blocking those kind of stuff.

Is there some rule for jQuery Validate to mark an email field as invalid when user types some specific domains or addresses?

Sparky
  • 98,165
  • 25
  • 199
  • 285
joaogdesigner
  • 430
  • 2
  • 7
  • 20
  • You can create any rule you wish. See: http://jqueryvalidation.org/jQuery.validator.addMethod/ – Sparky Mar 18 '16 at 21:03
  • 1
    BTW: Most spammers are totally unaffected by your client-side validation routine because their software disables/bypasses JavaScript. Instead, you'll need server-side validation, and then they'll probably just use domains that you allow. – Sparky Mar 18 '16 at 21:08

0 Answers0