showcase how to provide error detection in input filed with predefined rules, ex: end date must be superior to start date, start date can't be equal to end date., etc