Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin 114 posts 313 karma points
    Feb 20, 2015 @ 10:37
    Martin
    0

    Umbraco forms: Simpler alternative to Recaptcha?

    Hi,

    For the customers we target, some elderly people find it hard to see och interpret many of the recaptcha images. Are there any simpler alternative? For example, some robot controllers ask you to write the sum of two number (e.g. Enter the sum of "4" and "8"). Although we would risk some more robot form submits using a simpler control, we also face losing potential elder customers when using a too hard recaptcha.

     

    Any hint is greatly appreciated.

    Regards,

    Martin

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 20, 2015 @ 11:42
    Jan Skovgaard
    100

    Hi Martin

    Yeah, image based captchas suck in general and they're not very user friendly or accessible.

    Unfortunately there is not an option to do what you think about out of the box. Don't know if it's possible to use a hidden field and set some conditions somehow perhaps.

    So you'll need to expand the functionality - Try reading about how to add custom code here https://github.com/umbraco/UmbracoFormsDocumentation/blob/master/Developer/Custom-Markup/index.md - All the documentation for forms can be found here https://github.com/umbraco/UmbracoFormsDocumentation/blob/master/Developer/index.md

    Hope this helps.

    /Jan

  • Martin 114 posts 313 karma points
    Feb 20, 2015 @ 12:01
    Martin
    0

    Thanks Jan! I will see if I find an alternative.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 20, 2015 @ 12:23
    Jan Skovgaard
    0

    Hi Martin

    You're welcome - I hope you will share when you figure out something so others can benefit as well :)

    /Jan

  • Martin 114 posts 313 karma points
    Feb 20, 2015 @ 19:55
    Martin
    1

    Hi,

    I made a simple solution for so long (future will tell if it enough to avoid spamrobots): Add a mandatory text field and instruct the user to write a code in a specific format which is checked by regex. For example, "Enter any 3 digits followed by any five characters".

    //Martin

  • Matthew Kirschner 323 posts 611 karma points
    Feb 23, 2015 @ 16:29
    Matthew Kirschner
    0

    @Martin, you could consider using a honeypot.

  • James 251 posts 1169 karma points
    Feb 23, 2015 @ 17:50
    James
    1

    Hello there,

     

    I have a little one i have used ona  few of my client sites. Granted they are relatively low traffic but it appears to work ok. 

     

    At the top of my contatc page i create two random numbers in variables like so:

    int aNumber = new Random().Next(1, 3);

    int bNumber = new Random().Next(1, 11);

    These two numbers are then displayed to the user. They have to add them together and enter the result into a field.

     

    I then request the field and do a check like so:

    var capchaCheck = Request.Form["captchaCheck"].AsInt();

        var nA = Request.Form["nA"].AsInt();

        var nB = Request.Form["nB"].AsInt();

     

        if (capchaCheck == (nA + nB))

    {

    If the captcha check field is equal to the two numbers added together (the user has added the numbers correctly) then do some stuff with your contactform.

    }

     

    This can sit inside any sort of validation you have. the validation can come before or after the captcha check.

     

    I hope this helps :)

     

     

     

     

     

  • Martin 114 posts 313 karma points
    Feb 23, 2015 @ 21:12
    Martin
    0

    Thanks James,

    But how do I implement this check with Umbraco Forms? Would I have to make changes inside the default form scipt?

  • Stephen Davidson 216 posts 392 karma points
    Oct 23, 2015 @ 09:42
    Stephen Davidson
    0

    Thanks for the HoneyPot link...got me thinking and managed to implement something around an existing form.

  • Alan Hill 14 posts 57 karma points
    Oct 23, 2015 @ 13:35
    Alan Hill
    0

    Definitely +1 for the honeypot idea, we implemented on a form on a contract I was working on (not related to Umbraco) and it worked really well (ie we did not get any complaints about the ReCaptcha or whatever else being difficult to see/operate/understand).

    Honeypot seemed the best solution from a usability perspective since it did not rely on the user to do anything extra. Non-js users can be served by making the label of the field something like "do not fill in this form, admin use only" or something like that. We couldn't really see a down side to it.

Please Sign in or register to post replies

Write your reply to:

Draft