Topic: Need a login page with Captcha (mdbootstrap captcha)

sriramk18 priority asked 2 years ago

Login page with captcha for security.

Login page submit button must post after the captcha and all field validation are successful.

Need to do this with MDBootstrap captcha.

It works in snippet, But the same code when used in live the captcha is not visible.

i have attached the live code in the url.

The captcha will appear in the snippet. But will not appear in live browser.

Dawid Wajszczuk staff commented 2 years ago

Have you generated key to your site at google page and added it to your Caprcha via data-mdb-sitekey attribute? Did you include google API script before MDB script? Did you import all.min.js which is responsible for plugins? Do you have any errors in your console?

sriramk18 priority commented 2 years ago

Yes. I entered the site key. Google api is included and that works in the snippets. No error in console.

sriramk18 priority commented 2 years ago

I have attached the code in the URL. The snippet will show the captcha. If i copy the same code to html and view the html file in web browser, the captcha will not appear.

Dawid Wajszczuk staff commented 2 years ago

Move google API script to the top of your page (into header). Did you add your site (or localhost) into your key in google's admin console?

sriramk18 priority commented 2 years ago

Thanks it worked

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.2
  • Device: Mobile, PC
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: Yes