Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can someone point me to a valid Captcha tutorial ?

Status
Not open for further replies.

pmonett

Programmer
Sep 5, 2002
2,632
FR
Can someone point me to a valid Captcha tutorial for beginners ?

I have a website page to update, which allows internet users to input a Contact form and submits it to the internal contact db. I have been tasked with adding a Captcha control onto it. I got the Google stuff configured, and the Captcha itself is working, but I am having difficulty linking the state of the Captcha to my Submit button.

I don't have enough experience for this, and Google isn't clear enough (which should tell you my level in PHP/Javascript). Can someone point me to a clear example I can follow ?

Thanks in advance,

Pascal.

I've got nothing to hide, and I demand that you justify what right you have to ask.
 
Final code will depend on which "captcha" you are employing (there are at least three), but the basis is;

Catch the return value, act on it.


JavaScript:
if(returnvalue == true) {
	document.getElementById("SubmitbuttonID").disabled = false;
	}

Set the button to be disabled by default.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.

Never mind these jesus character, stars had to die for me to live.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top