Hi, I hope someone is able to help.
I have a date picker field that I would like to restrict depending on the result of another field. For example:
- I have a choice field (Priority Rating) with 3 options: P1, P2, P3
- Depending on which option is selected I would like to affect the date picker (Deferral Expiry Date) as follows:
- P1 - disable people from being able to select a past date and also a date that is more than 365 days in the future
- P2 - disable people from being able to select a past date and also a date that is more than 730 days in the future
- P3 - disable people from being able to select a past date and also a date that is more than 1095 days in the future
I've tried validating the date picker field but it's not really enabling me to do what I need to do.
Thank you.
Best wishes,