on 01-20-2016 1:31 PM
Hi,
Is there anyone who can give me some info on how I should implement a captcha (like google's reCAPTCHA) in a sapui5 application, connected to a SAP backend using SAP Gateway.
Thanks,
R.Wuyts
Please refer this document and try below this code.it may be useful and Add captcha in sapui5 application | SCN
Kindly let me know if you need any more information
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try below example code and refer Validating Google reCAPTCHA - FormValidation
<html>
<head>
<title>reCAPTCHA demo: Explicit render after an onload callback</title>
<script type="text/javascript">
var onloadCallback = function() {
grecaptcha.render('html_element', {
'sitekey' : 'your_site_key'
});
};
</script>
</head>
<body>
<form action="?" method="POST">
<div id="html_element"></div>
<br>
<input type="submit" value="Submit">
</form>
<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit"
async defer>
</script>
</body>
</html>
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.