Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

705 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