Question

Disable "is not a valid date value" validation

Hi everyone,

I want to disable invaid date of pega.

How can I set it? I attach image below.

Thank you!

Correct Answer
November 8, 2019 - 12:12pm

Hi,

By OOTB, the Date and DateTime control will display the error "xxxxxx is not a valid date value" when the date format entered in the field at runtime is not a valid one specified for the control. 

If you want to disable the error, enter the correct value or change/customize the control as per your requirement.

 

Comments

Keep up to date on this post and subscribe to comments

November 8, 2019 - 2:14am

well, it's endeed invalid date.

What do you mean by "disable invalid date"?

basically, you either need to fix the value or to change a property type

November 16, 2019 - 2:09am
Response to vaspoz

yaahh, but I want to use Datetime property type.

I want to use my defination validate.

I dont want to display Pega's validate message. Such as ".... invalid date" ....

Pega
November 8, 2019 - 12:12pm

Hi,

By OOTB, the Date and DateTime control will display the error "xxxxxx is not a valid date value" when the date format entered in the field at runtime is not a valid one specified for the control. 

If you want to disable the error, enter the correct value or change/customize the control as per your requirement.

 

November 16, 2019 - 2:10am
Response to GeedA

Thank you for helpful!