PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Show recaptcha only for nonmembers

  1. Hey there,

    I haven't seen this question asked yet, but it's an important one for our client:

    Is it possible to show the recaptcha form for nonmembers, and disable it for members? We want to simplify things for our members while still reducing spam.

    Thanks for your help,
    Phillip

    Posted 7 years ago on Thursday February 16, 2012 | Permalink
  2. Hi, Phillip,

    If you mean only show the recaptcha field when users aren't logged in, take a look at this forum topic which explains how to conditionally show fields based on whether users are logged in or not - http://www.gravityhelp.com/forums/topic/conditional-fields-for-registered-user#post-22859

    Let me know if you have questions.

    Posted 7 years ago on Wednesday February 22, 2012 | Permalink
  3. Thanks for the response Dana,

    Would that approach work with reCaptcha? It seems like it hides a field but still creates it. Wouldn't that cause the reCaptcha to fail on form submission?

    Another concern for me was AJAX submission. I want to enable when possible, but I've read it doesn't play well with reCaptcha. I want to enable AJAX for members to streamline their experience.

    I've implemented something of a brute-force workaround. I duplicated the form and tailored it for members (hidden name/email fields) and visitors (added reCaptcha), and choose which to call based on the user login status. This also allows me to specify AJAX for members.

    I appreciate the information - the post you referenced was very interesting!

    Regards,
    Phillip

    Posted 7 years ago on Wednesday February 22, 2012 | Permalink
  4. If you conditionally hide the reCaptcha field it does not cause the form to fail upon submission; this also applies to using Really Simple Captcha. I tested it to be certain.

    The reCaptcha field cannot be used with AJAX enabled on the form. See this documentation for more info (http://www.gravityhelp.com/documentation/page/CAPTCHA).

    It sounds like your solution is working for you, so that is great! That is the magic of Gravity Forms, you can make it do so much. :)

    Posted 7 years ago on Thursday February 23, 2012 | Permalink

This topic has been resolved and has been closed to new replies.