Captcha Questions

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Captcha Questions

jrabasilio

Hi Alex,

I try to add google captcha in my form, i add this configuration in
properties.xml

<property
     as="xs:string"
     name="oxf.xforms.xbl.fr.recaptcha.public-key"
     value="..."/>
 <property
     as="xs:string"
     name="oxf.xforms.xbl.fr.recaptcha.private-key"
     value="..."/>
  <property as="xs:string" name="oxf.fr.detail.captcha.*.*"
value="reCAPTCHA"/>
 
<property as="xs:string" name="oxf.xforms.xbl.fr.recaptcha.theme.*.*"
value="light"/>


An error occurs in javascript console
"Failed to execute 'write' on 'Document': It isn't possible to write into a
document from an asynchronously-loaded external script unless it is
explicitly opened."

<http://discuss.orbeon.com/file/t375602/orbeonGoogleCaptcha.png>

I have another question, it's possible in same form enable or disable
captcha ?

thanks



--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Captcha Questions

Alessandro  Vernet
Administrator
Hi João,

What version of Orbeon Forms are you using? Could you also share a screenshot of the error you're getting? And is there anything special I need to do to reproduce the issue, or are you able to reproduce this with Orbeon Forms out-of-the-box by just enabling the reCAPTCHA?

-Alex

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Captcha Questions

jrabasilio
Hi Alex

I only enable the captcha in properties (properties-local.xml) with the
reCAPTCHA and add the public key and private key,
and thats it.
The Orbeon Version is  '2017.2 CE'

Image added
<http://discuss.orbeon.com/file/t375602/orbeonJserror.png>

And about in the same form enable or disable catpcha it's possible ?

Thanks.




--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Captcha Questions

Alessandro  Vernet
Administrator
Got it João, if you're using Orbeon Forms 2017.2, then you need to upgrade to
2018.1, as 2017.2 uses a version of reCAPTCHA API that Google doesn't
support anymore. (For those using Orbeon Forms PE, it is also possible to
upgrade to Orbeon Forms 2017.2.2 or newer.) You'll let me know if this works
for you.

https://doc.orbeon.com/form-runner/component/captcha#recaptcha

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Captcha Questions

jrabasilio
Hi Alex,

After update orbeon to 2018.1.1 version work fine, thanks.

And another question, it's possible enable/disable captcha in same form ?

Thanks.


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Captcha Questions

Alessandro  Vernet
Administrator
Hi João,

Great, I'm glad everything works as expected with the reCAPTCHA in 2018.1.
Regarding your question, what are the conditions under which you'd like to
enable or disable the reCAPTCHA?

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Captcha Questions

Alessandro  Vernet
Administrator
Hi João, have you managed to enable/disable the reCAPTCHA when you wanted? If
not, could you share more details about the conditions under which you'd
like it happen, per my previous message?

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet