Editor: In forms when asking for date fields it is a good idea to validate the date value using client side (JavaScript) validation along with your programming language validation. The following example shows how you can do this for the mm/dd/yyyy format.