I set the maxdate property of the datepicker and it does not allow to select any date greater than when clicking the calendar image.
When I enter a date greater than maxdate, it does show the text box bounded by redline.
However, I leave the invalid date and click on save button, it does allow me to fire the event associated with the save button. How do I prevent this happenings?
When I enter a date greater than maxdate, it does show the text box bounded by redline.
However, I leave the invalid date and click on save button, it does allow me to fire the event associated with the save button. How do I prevent this happenings?