?
avatar NivF007
NivF007
30 Oct 2017

Steps to reproduce the issue

When using a contact form and reCAPTCHA utilizing Joomla's native Contact component and Captcha - ReCaptcha plugin (set to version 2.0)

When the user fails to check the "I'm not a robot" checkbox, two undesirable things happen from a 'user experience' point-of-view.

  1. Unfriendly/non-descript error message: the returned error message states "Empty solution not-allowed."
  2. Form Field Values reset: all data entered by the user in the form fields is reset

Expected result

Ideally, the Joomla site should provide a friendly descriptive error message, such as "reCAPTHA submission failed" and retain the entered form field data.

Actual result

Unfriendly, non-descript error message "Error: Empty solution not allowed."

Information in contact form fields cleared.

System information (as much as possible)

LAMP on HostGator running PHP7 Joomla 3.8.1

Additional comments

avatar NivF007 NivF007 - open - 30 Oct 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Oct 2017
avatar brianteeman
brianteeman - comment - 30 Oct 2017

Iirc that error message comes from Google not joomla

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Oct 2017
Status New Discussion
avatar Quy
Quy - comment - 30 Oct 2017

See PR #17743 for the form field values reset

avatar brianteeman
brianteeman - comment - 30 Oct 2017

Sorry I was wrong about the message

avatar joomla-cms-bot joomla-cms-bot - change - 13 Dec 2017
Closed_Date 2017-12-13 06:52:35 2017-12-13 06:52:36
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 13 Dec 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 13 Dec 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-12-13 06:52:35
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 13 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 13 Dec 2017

closed as having Pull Request #19051.

avatar roicarl
roicarl - comment - 3 Dec 2018

I just installed Google reCaptcha V2 for my contact form. Am running under Joomla release 3.9.1. This is the error message I got if you don't click on the reCaptcha square-is this considered user-friendly (plus I lost my data)? Am I doing something wrong?

Tried to post error message but keep getting errors here. The best way is to look at the form, fill it and then click send without clicking on the reCaptcha.

(https://www.northcountrysteakbuffet.com/contact-us.html)

Add a Comment

Login with GitHub to post a comment