Copied to clipboard

Flag this post as spam?

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


  • Sasha Kruglyak 10 posts 97 karma points
    Aug 17, 2014 @ 11:50
    Sasha Kruglyak
    0

    Recaptcha field on multiple forms

    Hi there,

    We have some forms in contour (3.0.21), and we would like to use recaptcha for each one, but for some reason we can use recaptcha only for one form,

    Any help will be appreciated.

    Regards,

    Sasha

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 18, 2014 @ 08:54
    Tim Geyssens
    0

    What is the error you are getting?

  • Sasha Kruglyak 10 posts 97 karma points
    Aug 18, 2014 @ 09:02
    Sasha Kruglyak
    0

    There is no error,

    we just can't use recapthca in the form if there is already another form using recaptcha,

    when we remove recaptcha from the first form, only then recaptcha appear in second form,

     

     

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 18, 2014 @ 09:04
    Tim Geyssens
    0

    And the forms exist on the same page then? 

  • Sasha Kruglyak 10 posts 97 karma points
    Aug 18, 2014 @ 09:07
    Sasha Kruglyak
    0

    Exactly

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 18, 2014 @ 09:13
    Tim Geyssens
    0

    Seems like it's a recaptcha issue, check http://stackoverflow.com/questions/1241947/how-do-i-show-multiple-recaptchas-on-a-single-page maybe try the jQuery workaround?

  • Sasha Kruglyak 10 posts 97 karma points
    Aug 19, 2014 @ 12:35
    Sasha Kruglyak
    0

    Hey Tim,

     

    First of all thanks for you help,

    It really was recaptcha issue, so what we decided to do is to dynamicly create recaptcha per form. We used recaptcha create method as found in Google Recaptcha API

    Recaptcha.create(public_key, addToElemt, recaptchaOptions);

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies