Hello all,

I'm new to this forum and by no means am I a Javascript expert. I'm looking for a code that I can use to check validation of a date in a text field based on the current date. (i.e. If the user punches in a date that is in the past, I want an alert to pop up.) The date can be manually entered or by simply clicking a calendar icon that pops open a calendar. Also if you can provide something that would do the same but not let the user enter a date in the future, that would be awesome. Thanks in advance for your help.