diff --git a/src/scenarios/google-recaptcha/index.ejs b/src/scenarios/google-recaptcha/index.ejs index 5ccbf83..30688e1 100644 --- a/src/scenarios/google-recaptcha/index.ejs +++ b/src/scenarios/google-recaptcha/index.ejs @@ -1,13 +1,13 @@ <%- include(commonPath + '/header.ejs') %> <%- include(commonPath + '/internal-page/header.ejs', {containerType: 'sm'}) %> -
+
-
<%- include(commonPath + '/internal-page/footer.ejs') %> @@ -30,14 +30,14 @@ const errorCallback = (error) => { console.log('error'); if (error) { - statusMessage.textContent = `captcha error`; + statusMessage.textContent = `reCaptcha error!`; } }; - + captchaForm.onsubmit = (event) => { event.preventDefault(); const token = grecaptcha.getResponse(); - statusMessage.textContent = `form submitted, captcha token ${token}`; + statusMessage.textContent = `Form submitted successfully!`; } window.onloadCallback = function() {