jQuery Fancy Draggable Captcha

Here is a jQuery example for a captcha in a registration form. In order to pass the “Are you human” test, the user has to drag the numbers from 1 […]

Here is a jQuery example for a captcha in a registration form. In order to pass the “Are you human” test, the user has to drag the numbers from 1 to 6 into order.

Click to see a demo
Click to see a demo

Here you can download the source as a ZIP file:  Captcha ZIP

DEMO

Tiny break: 📬 Want to stay up to date with frontend and trends in web design? Subscribe and get our Collective newsletter twice a tweek.

cody

Cody loves jQuery - he puts the magic into every web application. He is crazy about Curry dishes.

Stay in the loop: Get your dose of frontend twice a week

Fresh news, inspo, code demos, and UI animations—zero fluff, all quality. Make your Mondays and Thursdays creative!

Feedback 10

Comments are closed.
    • Hi ellisgl, not good 🙂
      I will soon post a new one that has support for users that don’t have JavaScript enabled.
      greets

  1. I was wondering, would this really stop a bot from posting on your site? After all the bot wouldn’t even see the javascript it would just post directly to your server-side script.

    Unless you somehow combine server-side functionality with the javascript this really just gives you a false sense of security.

    • Hi Evan,
      yes you are right, there must be some server side that checks that. In this post I was just trying to show another possibility for a captcha. I didnt consider the server side part here. I would change the script in a way that the user has to order the numbers in the same way of another sequence that would be displayed for him/her. That value (of the sequence that he/she has to simulate) would be stored for example in some session variable that would be then matched with the user’s sequence. Another improvement would be to put the numbers as pictures and not only from 1 to 6.
      Greetings

  2. Hey quite good blog!! Man .. Attractive .. Remarkable .. I am going to bookmark your blog and have the rss feeds also…

  3. i tried this one. but not working on IE7. keeps on saying you’re not a human. any idea to solve this? thanks!