Date Field Validation

Certified Associate Developer

Hi All,

I have a query regarding date field validation.

In my case i want to put validation on date field when user have existing date value and if user clear that existing date value at that time i want to show a validation like, date field should not be empty.

for this i have applied may conditions but it fails because of the limitation  on validation property which says: "Validation errors to display below the field when the value is not null."

           so i want that validation, only when user clear the existing value from date field.

below is my code can any one help on this?

i have one variable in which i am getting existing date.

  Discussion posts and replies are publicly visible