Recipes by Category
App Distribution (2)
Bundle logic, interface and services for distribution.
App Logic (37)
The Apex programming language, workflow and formulas for logic.
Collaboration (6)
The Salesforce Chatter collaboration platform.
Database (29)
Data persistence, reporting and analytics.
Integration (33)
Web Service APIs and toolkits for integration.
Security (9)
Platform, application and data security.
Tools (4)
Force.com tooling
User Interface (36)
Visualforce MVC and metadata-drive user interfaces.
Web Sites (12)
Public web sites and apps with optional user registration and login.
Cookbook Home » Protect Public Forms from Spammers by Adding CAPTCHAs
Share
X
Vote to Verify a Recipe
Verifying a recipe is a way to give feedback to others and broaden your own understanding of the capabilities on Force.com. When you verify a recipe, please make sure the code runs, and the functionality solves the articulated problem as expected.
Please make sure:- All the necessary pieces are mentioned
- You have tested the recipe in practice
- Have sent any suggestions for improvements to the author
Please Log in to verify a recipe

Recipe Activity - Please Log in to write a comment
I'm assuming it's the path to 'http://www.google.com/recaptcha/api/verify' that is the culprit. I searched the official captcha website to look for any url's, but didn't find any
I have added the Controller class code to an existing contoller for my "sites" which allowed me to save, so I'm assuming the controller is good. I have also pasted the code from the page sample, and that too saved, but when I view the page, the "submit" button appears to work, but no CAPTCHA image shows on the page. As a goof, I submitted the form and received the message that my value didn't match [ Try Again! ] button then shows... So it looks like the behavior is working, just no image for the user to have an opportunity to pass a matching variable... Can you help!
Thanks!