Latest UiPath Form - Date validation

Hello All,
I am currently utilizing the latest UiPath Form Designer version 23.10.5 along with Studio version 2023.12 Community Edition. My objective is to implement date validation in the form, which includes a start and end date. I aim to validate based on a date passed as an argument in the code.
For instance, the user should be alerted in the form when the end date selected is 1 year after and the year should be passed from a config file. Operation team should have the flexibility in updating the year value later using the config file.

I would appreciate your guidance if you have any insights on how to accomplish this. If you’ve already implemented a solution, please share the XAML file or a screenshot for reference.