Custom validation message not working

I am trying to set custom required field validation message for my field. But even after setup custom message also it showing same message 'Please select one of the option'.

Settings:

Settings

Result:

Result

Comments

ARUN AK created an issue. See original summary.

jrockowitz’s picture

We just need to implement the below solution and it should allow most browsers to display the custom required message.

http://stackoverflow.com/questions/5272433/html5-form-required-attribute...

  • jrockowitz committed 55648bd on 2879689-custom-required-error
    Issue #2879689 by ARUN AK, jrockowitz: Custom required error message not...
jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new4.72 KB

  • jrockowitz committed 90d6ae3 on 8.x-5.x
    Issue #2879689 by jrockowitz, ARUN AK: Custom required error message not...
jrockowitz’s picture

Status: Needs review » Fixed

I committed the patch. Please download the latest dev release to review.

arun ak’s picture

Hi jrockowitz,

Thanks for quick fix. Downloaded latest dev. Now the error message is displaying properly, but now page submission is not working. Even I select a value also it is showing error message like field is required and also preventing submission.

arun ak’s picture

Status: Fixed » Active
jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new732 bytes

@ARUN AK Thanks for catching that bug.

  • jrockowitz committed f8993aa on 8.x-5.x
    Issue #2879689 by jrockowitz, ARUN AK: Custom required error message not...
jrockowitz’s picture

Status: Needs review » Fixed

I committed the patch. Please download the latest dev release to review.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.