Forums de discussion

Validation captcha in client side

akaram siddiqui, modifié il y a 9 années.

Validation captcha in client side

Junior Member Publications: 56 Date d'inscription: 16/05/13 Publications récentes
Hi All,

I am looking captcha validation in client side Means when user is entering wrong text or leaving empty then it should show please enter validit text without page refresh in custom portlet..
thumbnail
Meera Prince, modifié il y a 9 années.

RE: Validation captcha in client side

Liferay Legend Publications: 1111 Date d'inscription: 08/02/11 Publications récentes
HI
Capcha verification will be doing form Server side. and you can make filed validation is required so that if it empty then it shows required validation error.

More about Validator in Liferay

http://www.liferaysavvy.com/2013/12/liferay-aui-validator.html

http://www.liferaysavvy.com/2014/01/aui-form-validator-in-liferay.html

http://www.liferaysavvy.com/2014/01/objective-perform-form-validation-in.html

About Capcha

http://www.liferaysavvy.com/2013/12/liferay-captcha-plugin-portlet.html


Regards,
Meera Prince
akaram siddiqui, modifié il y a 9 années.

RE: Validation captcha in client side

Junior Member Publications: 56 Date d'inscription: 16/05/13 Publications récentes
Thanks
already I have done it from server side but I am looking it client side
thumbnail
mohammad azaruddin, modifié il y a 9 années.

RE: Validation captcha in client side

Expert Publications: 492 Date d'inscription: 17/09/12 Publications récentes
I am not sure but May be you can make ajax call onchange event and validate.
thumbnail
Nitin Yeola, modifié il y a 8 années.

RE: Validation captcha in client side

Junior Member Publications: 64 Date d'inscription: 16/01/14 Publications récentes
You can call service to validate captcha using ajax.
That is better way for client side validation.
thumbnail
David H Nebinger, modifié il y a 8 années.

RE: Validation captcha in client side

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
akaram siddiqui:
I have done it from server side but I am looking it client side


This is ridiculous. You're going to pass the captcha value, perhaps as javascript or something, to verify on client side. This of course fails because the bad script kiddies will figure out how to programmatically bypass your captcha because you've given them everything they need to do so.

Which begs the question, why do a captcha at all? If you're not going to protect it, it serves no purpose.
thumbnail
Olaf Kock, modifié il y a 8 années.

RE: Validation captcha in client side

Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
This is a good case for choosing the proper location for asking a question: I didn't even read the question to the point that I could come up with an answer when it was initially posted in the german language forum. Today just seeing the question's title in "Recent Changes" triggered exactly the thought that you (David) posted.

This is not the spam bot you're looking for (makes waving hand movement)

"Could I see your legitimation please?" - "You don't need to, it's ok" - "Oh, nice. Welcome..."
thumbnail
Olaf Kock, modifié il y a 9 années.

Moving thread

Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
English language questions might get more answers in the english language parts of this forum. Moving this thread out of the german language category