Add the classes "autoDate" and "autoDateTime" to any input elements that you want to convert into smart date/time fields. Try entering the following values in the above fields. (NOTE: The value is updated after the value is changed.)
3 (will enter as current month/3/current year), Now, Today, Tomorrow, July 2008, next Friday, last April, 2004.08.07, 6/4/2005, 8:15 PM, 22:30:45, +5years, +3, -2
If you use the jQuery Validation plugin, you can add the following method to validate the combined date/time values.
|Just wanted to say THANK YOU very much for the amazing work you did on the site. It's amazing and such a great improvement. I look forward to continuing working with [SunStar Media] in the future as we maintain the site. Have a great day!|