Reputation: 13
I'm trying to use recaptcha to prevent spam on my form that submits to a salesforce url. The recaptcha instructions say to include the verification functionality in a my internal form-checking. Because the form is submitted to salesforce though, I'm not sure where this code should go...or how to work around submitting the form responses to salesforce if the captcha is entered correctly, and how to re-display the form if it isn't. help?
Upvotes: 1
Views: 943
Reputation: 11
just save cookie to temp file, and resubmit form with curl and set cookies with previous temp file
Upvotes: 0
Reputation: 2101
If you mean that the form's action takes the user to an external site upon submission, you either need to check the captcha with javascript/ajax, or create a man-in-the-middle page to handle validation and redirection (if everything is valid). Both will give you the ability to kick the user back to the form if something isn't right.
Upvotes: 2