How to prevent users from entering past date exceeding 90 days?

Is there any regex for wix editor in dynamic page? I just want to prevent users /site visitors from entering past/back date exceeding 90 days. There is option to disable entering past days, but i want to know how to allow only 90 days back date and prevent from entering more previous date than 90 days.
Also I want to know can we add a date formula it means if a visitor enters 1 month tenure and select today’s date then in the next column there must appear 30th date i.e. expiry date.

code an IF condition that checks if the datePicker value if greater than 90 days. If it is then reset the datePicker entry and display an error message on screen informing the user that they must pick a new date.