i have a text field..which accepts date in dd/mm/yyyy format only..if user enter fake entry..then it displays error and clear the field.. using onblur event..
<input name=”past” type=”text” name=”date”>
Help @abhit_kumar spread the word by sharing this article on Twitter...