# Test DateTextBox Widget

Date (local format) DateTextBox class, no attributes
onChange:
l:
Date (local format - long) DateTextBox class, Attributes: required="true", trim="true", constraints={min:'2004-01-01',max:'2006-12-31',formatLength:'long'}. Works for leap years
onChange:
Date (American format) DateTextBox class, Attributes: lang="en-us", required="true", constraints={min:'2004-01-01',max:'2006-12-31'}. Works for leap years. Prompt message whenever field is blank.
Date (German format) DateTextBox class, Attributes: lang="de-de", hasDownArrow=false, constraints={min:2004-01-01, max:2006-12-31}. Works for leap years. Prompt message whenever field is blank.
Date, overriding pattern Date, overriding pattern with dd-MM-yyyy
Using title attribute for label DateTextBox class, Attributes: lang="en-us", required="true", prompt message, invalid message Prompt message whenever field is blank.
Date pairs, from/to (won't submit unless from/to fields filled in correctly):
From: To:
Pick a day in 3Q 2011