Skip to main content
Participating Frequently
March 15, 2018
Answered

use reCAPTCHA with web form

  • March 15, 2018
  • 3 replies
  • 4085 views

I have gone to google.com/recaptcha and generate the site key and secret key

Does Dreamweaver have a plugin or code to implement reCAPTCHA on a web form?

Do I have to do anything on the web server or just paste some code into the web form?

    This topic has been closed for replies.
    Correct answer BenPleysier

    The reason I use reCAPTCHA because it is a one click process and very secure, passing a secret site key to the Google server for verification. This way the form can never be used outside of the authorised website.

    For more info and a tutorial, see https://webdesign.tutsplus.com/tutorials/how-to-integrate-no-captcha-recaptcha-in-your-website--cms-23024

    our captcha form

    3 replies

    Nancy OShea
    Community Expert
    Community Expert
    March 16, 2018

    I've never been a Captchas fan.   My goal is to make forms as simple as possible for humans.  Captchas don't fit that category.

    A simple question like "what color is  'red' wine?"  is EZPZ for humans ; impossible for robots.

    Nancy

    Nancy O'Shea— Product User & Community Expert
    BenPleysier
    Community Expert
    BenPleysierCommunity ExpertCorrect answer
    Community Expert
    March 16, 2018

    The reason I use reCAPTCHA because it is a one click process and very secure, passing a secret site key to the Google server for verification. This way the form can never be used outside of the authorised website.

    For more info and a tutorial, see https://webdesign.tutsplus.com/tutorials/how-to-integrate-no-captcha-recaptcha-in-your-website--cms-23024

    our captcha form

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Legend
    March 16, 2018

    BenPleysier  wrote

    The reason I use reCAPTCHA because it is a one click process

    What about all the stupid verification squares which suddenly emerge asking for your user to click every square that has a tree stump in it, if you can actually identify the square as containing a tree stump, most are so vague. That has to be just as annoying as the old style captacha where you couldnt read the text?

    Personally I think the honey-pot in combination with a verification question is much simpler for the end user.

    BenPleysier
    Community Expert
    Community Expert
    March 15, 2018
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    WolfShade
    Legend
    March 15, 2018

    I don't know if there is a plugin or code in DW to implement reCAPTCHA, but I do dislike seeing questions go unanswered or not even acknowledged.

    I can say this, though: It looks very easy to implement, if you read the instructions.  Should be a no-brainer for anyone who has been coding for a year, or more.

    However, if you are the type to drag-n-drop design a site/app, then this is the time to learn.  There's no excuse.  It's pure logic.  Formatting code makes it easy to read/understand.

    But I'm not here to lecture or pontificate or eschew the benefits of learning to code.  To answer your question:  I do not believe there is anything in DW that will automatically implement reCAPTCHA.  I could be wrong, and if someone here knows that there is, I would love to hear about that, too.

    V/r,

    ^ _ ^

    Legend
    March 15, 2018

    WolfShade  wrote

    I can say this, though: It looks very easy to implement, if you read the instructions.  Should be a no-brainer for anyone who has been coding for a year, or more.

    Apparently not. Ive followed 2 tutorials and neither worked for me (all it entailed was copying some simple code, so something is not set up correctly somewhere)  although others say the code worked fine for them. I think its going to be a case of either it works first time or its not going to work at all for some, including me.

    I question this recaptcha approach anyway as its far easier to just use a honey pot form field and a simple question. That Google captcha thing starts putting squares up and asking you to choose all those with vehicles in or all those squares were people can be found mooning. Quite often you cant even tell if anything is in the square. That is just as dumb and stupid as the old captcha were you couldnt read the text.

    A non-vote from me. Again I think this is just a trend which is ill conceived and difficult to set up. The installation  instructions at the Google recaptcha site are quite frankly appauling. Whoever put that together should be dispatched down a deep well and the lid sealed.

    EDITED: NEVER THE ONE TO GIVE UP - Finally on the 3rd tutorial I got it to work without going overboard using curl and all that crap the other developers were suggesting to use, madness, real madness when there are roughly 150 ways you can do this. Will it be the 1st attempt the 5oth attempt or the 150th attempt before you find something that actually works?

    PHP Tutorial For Beginners: Google reCAPTCHA v2 - YouTube

    Now if someone one could address the issue of these awful ugly 'verification' squares that keep popping  up with naked ladies in them or the equivilent that would be useful to know how to banish those along with the [vulgar word removed by moderator] from Google who tried to explain how to implement re-captacha and failed miserably.

    And its not just me continuously moaning - there is something [vulgar word removed by moderator] badly wrong going on in this world, full of idiots. Here's a comment from the url I posted

    'Thank you much, it's ridiculous Google doesn't have something like this in their documentation. Makes it basically impossible to figure something like this out unless you're a PHP dev.'

    Participating Frequently
    March 19, 2018

    Thanks for the reply osgood.  Yes I agree in that I also think that Google's tutorial is not good at all.

    I followed the tutorial that Ben posted and that worked and was straightforward with no confusion.