How to use AEM Captcha (Validation) | Community
Skip to main content
Level 4
March 11, 2016
Solved

How to use AEM Captcha (Validation)

  • March 11, 2016
  • 5 replies
  • 4437 views

Hi,

I am trying to create out of the box component CAPTCHA  in my page. After drag and drop, I have got refresh button and text element. How can I validate the user input?How can I invoke (ServerValidation.jsp) in the captcha component?

Please help me out.

Regards,

Krishh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by psjaison

Hi Krish

 

You dont have to do anything extra if you are using OOB captcha, But if you drag this component alone, it will not work. It works with CQ form.

 

Steps :

1. Drag and Drop Form from Form category

2. Drag and Drop Captcha anywhere you require.

3. If you require constraints, you can add on top of this.

 

Please let me know if it works fine.

5 replies

smacdonald2008
Level 10
March 11, 2016

Here is a community article on this subject - looks like they are using google lib however: 

http://wcmaem.blogspot.ca/2014/12/google-recaptcha-integration-with-adobe.html

Level 4
March 12, 2016

smacdonald2008 wrote...

Here is a community article on this subject - looks like they are using google lib however: 

http://wcmaem.blogspot.ca/2014/12/google-recaptcha-integration-with-adobe.html

 

 

Hi Smac,

Thanks for the reply. Actually, I have gone through this article. I want to know, how to use AEM OOBC Captcha for validation. Since validation logic is present in (servervalidation.jsp), I guess no need to go for the third party plugins. My apologies, if I am wrong..

Pls clarify my doubt.

Regards,

Krishh

psjaison
psjaisonAccepted solution
Level 2
March 12, 2016

Hi Krish

 

You dont have to do anything extra if you are using OOB captcha, But if you drag this component alone, it will not work. It works with CQ form.

 

Steps :

1. Drag and Drop Form from Form category

2. Drag and Drop Captcha anywhere you require.

3. If you require constraints, you can add on top of this.

 

Please let me know if it works fine.

Level 4
March 12, 2016

psjaison wrote...

Hi Krish

 

You dont have to do anything extra if you are using OOB captcha, But if you drag this component alone, it will not work. It works with CQ form.

 

Steps :

1. Drag and Drop Form from Form category

2. Drag and Drop Captcha anywhere you require.

3. If you require constraints, you can add on top of this.

 

Please let me know if it works fine.

 

Hi Jaison,

Thanks for your valuable inputs. Actually I have tried using form component.After drag n drop, I can able to see, Form Start and Form End. Wt are the changes I have to do in that form component? Please don't mind. Could you please brief about the steps. :) Thank you very much. Pls tell me, wt exactly constraints?

Level 4
March 12, 2016

krishh_187 wrote...

psjaison wrote...

Hi Krish

 

You dont have to do anything extra if you are using OOB captcha, But if you drag this component alone, it will not work. It works with CQ form.

 

Steps :

1. Drag and Drop Form from Form category

2. Drag and Drop Captcha anywhere you require.

3. If you require constraints, you can add on top of this.

 

Please let me know if it works fine.

 

Hi Jaison,

Thanks for your valuable inputs. Actually I have tried using form component.After drag n drop, I can able to see, Form Start and Form End. Wt are the changes I have to do in that form component? Please don't mind. Could you please brief about the steps. :) Thank you very much. Pls tell me, wt exactly constraints?

 

Hi Jaison,

I have been making mistake by not dropping  captch component, not in between Start and Stop form :). Thank you very much for u r suggestions.

Regards,

Krishh