Improve company productivity with a Business Account.Sign Up


How do I Drupal 6 and/Captcha Expertise

Posted on 2013-12-27
Medium Priority
Last Modified: 2014-01-31
I have, what I thought was a tiny task. I need to set up Captcha configuration for a drupal 6 site. One of our departments won't switch to Drupal7 [for now anyway] and they won't get rid of a html form that they had built in a content type using php, but they want the spam issue resolved.

I need to add captcha, send it through for validation and then send the field values on to some outside company they use via a url in the action. I have a demo site set up that mimics the departments setup here:

Open in new window

uname/pswd admin/admin. just click on the cGroup link in the nav.

In the edit view of the content type the "post", they are actually posting to an outside company's url and sending the form values to that company.

So where I am stuck, on submit of the form, the processing is sending the data elsewhere, so I need the captcha validation completed and then the normal processing of the form to take place.  How do I do this?

This is obviously a very easy set up, but since this is encapsulated within Drupal6, I can't get it work.
Question by:quikwallace
  • 5
  • 2
LVL 111

Expert Comment

by:Ray Paseur
ID: 39742139
I am not a Drupal expert by any means but I can at least show you the theory and practice of CAPTCHA, from simplest to more complex.

Author Comment

ID: 39742365
Hi Ray - I have the basics and the complex parts of captcha worked out-when it's a straight php app.  if you look the link, you can see I have it[captcha] set up, but the problem lies within the confines of Drupal I am guessing.  I can't get this form to validate and submit values to the url as needed because the form is built within a drupal content type and something is not playing well together.
LVL 111

Expert Comment

by:Ray Paseur
ID: 39742512
Yeah, I looked at it.  It did not seem to matter what I put into the CAPTCHA response - it just redirected back to the Welcome page.  Let's leave the question open and maybe a Drupal expert will come along with a better perspective.
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.


Author Comment

ID: 39742543
I know - it is so weird.  With whatever I try - it seems I can only do one thing or the other - either only validate or only send the values, not both.  Thanks for looking.  I appreciate it.  Hopefully someone will have some ideas.  I have run out of things to try.
LVL 17

Expert Comment

ID: 39743820
You could use Mollom, which was created by the company started by Dries Buytaert (he created Drupal in the first place). It is free for up to 50 uses per day, otherwise you have to pay for it.
It is SIMPLE to install, which was excellent after I tried and failed to install several different captcha modules. Mollom rejects the spam submissions silently so you never see them. It works REALLY well. I was using it on a site for an author who has been on the NYT best sellers list for over a year. We had to stop using though because he started to get way more than 50 hits per day and my client wasn't willing to pay for it. It's not that expensive.
Here is the home page for it:
It's a brilliant product!

Author Comment

ID: 39744772
I think I have heard of Mollom, but like your client, my client gets move than 50 hits per day and wouldn't want to pay for this option.

Accepted Solution

quikwallace earned 0 total points
ID: 39810080
Found a kind of klunky solution, but a solution  non the less.  For those who find this post - and using drupal 7+ use webforms, install both captcha and recaptcha, configure both.

Author Closing Comment

ID: 39823526
no other solution provided

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article discusses how to create an extensible mechanism for linked drop downs.
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

606 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question