Quote from Andy Marshman on August 20, 2021, 10:18 amHi,
Are there any examples of how to incorporate captcha functionality in VisualNeo web when creating a web app?
Regards
Andy
Hi,
Are there any examples of how to incorporate captcha functionality in VisualNeo web when creating a web app?
Regards
Andy

Quote from luishp on August 20, 2021, 12:10 pm@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/oZbeOJRegards.
@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.
Quote from Andy Marshman on August 20, 2021, 12:32 pm@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
@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

Quote from luishp on August 20, 2021, 12:58 pm@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.
@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.
Quote from Andy Marshman on August 20, 2021, 2:20 pm@luishp, Thank you I will give it go.
Regards
Andy
@luishp, Thank you I will give it go.
Regards
Andy