-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Summary
The MTCap Java library, by default, searches for a <div> element with class mtcaptcha on the page to embed the captcha widget. This may be unexpected for developers integrating the library into custom layouts, especially if the target container uses a different class or ID.
Default container:
<div class='mtcaptcha'></div>Expected Behavior
- The library should allow customizing the container selector or clearly document this requirement.
- Developers should be aware that a
<div class='mtcaptcha'>is required unless specified otherwise.
Steps to Reproduce
- Integrate the mtcaptcha-java-server-sdk in your Java web application.
- Do not add a
<div class='mtcaptcha'></div>in your HTML or use a different class name. - Observe that the MTCap widget does not appear or initialize as expected.
Additional Notes
- Improving documentation or allowing container customization would help developers avoid integration issues.
This issue is based on the default behavior in the README and code. @
Metadata
Metadata
Assignees
Labels
No labels