Makes the element require a date.
Return true, if the value is a valid date. Uses JavaScripts built-in Date to test if the date is valid, and does therefore no sanity checks. Only the format must be valid, not the actual date, eg 30/30/2008 is a valid date.
Works with text inputs!