Is it possible to use Captcha - Forum

Forum Navigation
You need to log in to create posts and topics.

Is it possible to use Captcha

Hi,

 

Are there any examples of how to incorporate captcha functionality in VisualNeo web when creating a web app?

 

Regards

Andy

@andy-marshman captcha functionality, to be truly secure, requires some server side code. You can also try to use Google reCaptcha or similar solution. Instructions here.

If you want a pure client side solution (less secure) you can use this samples:
https://codepen.io/guanqi/pen/mdbXQOJ
https://codepen.io/darkmeteora/pen/oZbeOJ

Regards.

@luishp if it's not to much trouble for you. Could you post a simple example for the Google reCaptcha. I'm not sure where I would need to load the javascript api and then where I need to place the script and attributes.

 

Regards

Andy

@andy-marshman it's necessary to previously register a valid domain URL and use a personal token.
Both must be configured in your own Google account.

Take a look here for simplified instructions:
https://www.a2hosting.com/blog/implement-captcha-solution-website/

Step #1: Register Your Website on reCAPTCHA
Follow the instructions on the linked site.

Step #2: Add the reCAPTCHA Script to Your Website
You can add the external script by copying this line into Project > Properties > Advanced > Custom Metadata > Head

<script src='https://www.google.com/recaptcha/api.js'></script>

Step #3: Place the CAPTCHA on Your Site
Then Add a Container, right click it and choose "Edit custom attr property" and write:

class="g-recaptcha" data-sitekey="Your site key goes here"

Note that the line includes a placeholder for your own reCAPTCHA Site Key, which we obtained during the first step.

Anyway I will try to think about a simple solution to include it as part of VisualNEO Web in next versions.
Regards.

@luishp, Thank you I will give it go.

 

Regards

Andy