0

We are trying to restrict the spam leads in salesforce coming from web-to-form.

we have a name field that can bring the spam leads . for example that name holds ---- 5xg7t52899 . How to restrict the above name with only having alphabets. yes we need to restrict numbers only. what is the validation rule need to write in Lead assignment rule to restrict numbers in the name ?

5
  • 1
    A regex something like [^\d]* or the likes. Did not test but regex should work well.
    – Eric
    Commented Apr 24, 2017 at 20:51
  • @Eric That's equivalent to \D*.
    – Adrian Larson
    Commented Apr 24, 2017 at 21:03
  • @AdrianLarson Yea. I rely on regex101 to test. Not a regex wizard by any means. Not even with the basics lol
    – Eric
    Commented Apr 24, 2017 at 21:04
  • @Eric That's the right tool for the job, I use it too! It has a decent amount of educational content on how stuff works, you just have to find it.
    – Adrian Larson
    Commented Apr 24, 2017 at 21:08
  • Still we are getting spam leads after I use firstname equals \D* . I just put this on criteria , not in formula to evaluate Commented Apr 24, 2017 at 21:17

1 Answer 1

0

New Spring 17 Feature

If you haven't already you might want to add include a CAPTCHA in the Web-to-Lead form. Salesforce has added this feature in Spring 17 and this thread digs deeper into it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .