Scroll page back to the top

Adding captcha to the online form

Adding captcha to the online form

In this tutorial we will learn how to add captcha image verification to your online form with SimpleCaptcha PHP class.

PHP / MySQL Tutorial

Sebastian Sulinski on 24th Aug 2011

Download Exercise FilesDemo

01 : Form structure (04:45 min)


02 : Validation (04:23 min)


Discussion (2 comments)

  • Qaysar Akbar

    Qaysar Akbar on Monday, 23rd January 2012

    Hello Sebastian,
    I wanted to ask a quick question about this tutorial.
    Can you please advise if their is a way to validate the captcha using jquery??


  • Sebastian Sulinski

    Sebastian Sulinski : @designtutorials on Monday, 23rd January 2012

    Hi Qaysar,
    You can validate it using jQuery and any of its ajax methods, however it will not reload the image so if there is a problem with the form input, the image will stay the same, unless you use iframe to store the image and reload it when there's a problem with the input - I've never tried it really, but I think this could be done this way.


  • Yannick Montalent

    Yannick Montalent on Tuesday, 11th September 2012

    Hi there,
    after implementing you're captcha, I get the invalid message everytime. I even used you're files and I still have the same problem. Why is that? Can you help?


Page 1 of 1
  • First
  • Previous
  • 1
  • Next
  • Last
Add a comment
Add Comment