[OutSystems UI Web] How to Translate DatePicker "Invalid date" message when inputted date is invalid

Forge Component
(56)
Published on 18 May (3 weeks ago) by OutSystems R&D
56 votes
Published on 18 May (3 weeks ago) by OutSystems R&D

Hello,


I am currently using "DatePicker component".

When User inputted invalid date like "2020-04-99", it show as "Invalid date" as capture.

I would like to customize this message in Japanese Error Message.


However, this message is generated in "Libraries\Moment_2_22_2" library, and I could not translate.

I would like to avoid Clone OutSystemsUIWeb for Create Customized DatePicker , just for the sake of Translate "Invalid date" error prompt.


Is there any better solution about this issue?

OutSystems UI Web Version: Version 1.7.10


Regards,

Ayumi


Ayumi Fukushima wrote:

Hello,


I am currently using "DatePicker component".

When User inputted invalid date like "2020-04-99", it show as "Invalid date" as capture.

I would like to customize this message in Japanese Error Message.


However, this message is generated in "Libraries\Moment_2_22_2" library, and I could not translate.

I would like to avoid Clone OutSystemsUIWeb for Create Customized DatePicker , just for the sake of Translate "Invalid date" error prompt.


Is there any better solution about this issue?

OutSystems UI Web Version: Version 1.7.10


Regards,

Ayumi


Hi,


You can update the message like below.


Hi Salman,


Thank you for answering.

Let me clarify what I want to achieve;


I would like to change message of circled area.


When I change Validate Message area's message according to your advice, however,  "Invalid date" message still shown...

I want to change message inside Input.

Is it possible to change this message?


Regards,

Ayumi

Ayumi Fukushima wrote:

Hi Salman,


Thank you for answering.

Let me clarify what I want to achieve;


I would like to change message of circled area.


When I change Validate Message area's message according to your advice, however,  "Invalid date" message still shown...

I want to change message inside Input.

Is it possible to change this message?


Regards,

Ayumi

You can use below component and along with the "Red" circle you can append message like "Invalid Date"

https://www.outsystems.com/forge/component-overview/3323/validation-plugin


Processing Upload...

Hi Ayumi,

Please check the attached as per your need.

Processing Upload...

attaching again oml due to some issue not updated yet