+91 80170 49042 [email protected]

How can I add captcha to Salesforce Web-to-Lead form to prevent spam?

by | Discussions | 2 comments

Question- Hi, I have a WordPress CRM website and we use salesforce web to lead form on our website for to collect leads but we are fed up with thousand of spams daily via that contact form. Is there any way to solve this issue? We don’t want to remove the web to lead salesforce form – M.Richardson

Answer – 

As per our research, the  possible solutions are –
2. http://wordpress.org/plugins/salesforce-wordpress-to-lead/ (Captcha option is there but not sure with latest WP version)
There are 2 more solutions – (Not recommended though)
  1. via hidden css fields in web to lead form that robots would fill up but humans would not and by that differentiation to protect spam
  2.  Another one is to use conditional fields in the salesforce form for not to use keywords such as drugs/viagra/cialis etc
As per our finding, this is a big problem faced by thousand of users and there is no ready-made /easy solution. Even salesforce has no specific solution for this. Also any captcha plugin can’t be integrated directly this way to salesforce form. In extreme case, you have to use other contact form alternatives.

Update – The solution is here now!

We have found a great solution to this problem now. Find below the steps.

1. Use this WordPress salesforce plugin (You get in-built captcha)

2. For using checkbox or dropdown menus, use the fork version of this plugin from here (copy the salesforce.php file)

3. Visit support forum & here & here to know the syntax to use checkbox or dropdown menus in your salesforce web to lead form

Debajyoti Banerjee is the Founder, Director & CEO of Seven Boats - A leading digital marketing agency & digital marketing training institute in India since 2011. He is a Google & LinkedIn Certified Digital Marketer & Trainer, Brand Strategist, Consultant & Entrepreneur. Debajyoti has 17+ years of domain expertise & successful track records in Digital Marketing & emerging technologies. Learn more Schedule an appointment with Debajyoti Banerjee

Want to learn Digital Marketing?

Looking for a career change? Then you need Seven Boats Academy – awarded as the best digital marketing institute in India! Our Digital Marketing Courses will help you get ahead in today’s competitive job market. You’ll learn essential skills that will help you grow your business or find a new job.

With our easy-to-follow course materials, you’ll be able to upskill yourself and achieve your goals. If you are looking for digital marketing course in Kolkata, then Seven Boats Academy is the best digital marketing institute in Kolkata since 2011. So what are you waiting for? Enroll today!

Book a call / Schedule a meeting Or

Sign Up for our FREE Digital Marketing Certification Courses →

1. Sign up & start free courses  → 2. Start a blog  → 3. Read Digital Marketing Tutorials  → 4. Check Tools  → 5. Upgrade to Premium Courses


  1. Elsy A Calkins

    Thank you for the tutorial, it’s useful and very clean ;)


Submit a Comment

Your email address will not be published. Required fields are marked *