I want to create an input form in SharePoint.
In this form you have to select a date. It must be the date 2016/01/20 or 2016/01/27 (in my country it's called 20.01.2016 and 27.01.2016. The column is called
Datum). When you try another date, an error message, which I define should appear.
I tried this code:
The Error message, which I defined, appears. But the problem is, it appears all the time. Even if I enter the correct date. What's wrong with this code?