How to validate date fields, help me out.

Certified Associate Developer

Hi Community Team, 

I need to set validations for 3 date field components. The following use cases are as follows: Commonly No filed is null or empty.

1. Field Name: Joining date validations are : I must be able to select the date which is over past 100 years and also able to select the future date which is One year from today.

2. Field Name: Access Start date validations are : I must be able to select the date which is from join date or I must be able to select the date which is one month from today.

3. Field Name: Access End date validations are : I must be able to Validate the date which is from one year  from Access Start date.

For each filed, If the validations were violated, it returns error message.

Please help me out to solve this use case. open for suggestions.

  Discussion posts and replies are publicly visible