When specifying vtype: 'mydate' in the DateField config, the mask mydateMask and invalidText mydateText are correctly applied, but the mydate validator is never called, and the default DateField format: 'm/d/y' and validator are used instead.

Also, when the above custom vtype is used, entering exactly 6 characters (digits only) causes the invalid field QuickTip to display the default DateField invalidText i.e. "{0} is not a valid date - it must be in the format {1}". Entering any other combination of digits and slashes (i.e. '/') will display the custom invalidText mydateText.

I want to restrict any other format other than m/d/y and d/m/y.
But if I use
parseDate : function(v) {
return (!v || v instanceof Date) ?
v : (Date.parseDate(v, 'm/d/y')||Date.parseDate(v, 'd/m/y'));
},
then if i set format as d/m/y, and select the date as 08/07/09, then in the popup calendar 8 should be highlighted instead its highlighting 07 .
How to handle this?

I want to restrict any other format other than m/d/y and d/m/y.
But if I use
parseDate : function(v) {
return (!v || v instanceof Date) ?
v : (Date.parseDate(v, 'm/d/y')||Date.parseDate(v, 'd/m/y'));
},
then if i set format as d/m/y, and select the date as 08/07/09, then in the popup calendar 8 should be highlighted instead its highlighting 07 .
How to handle this?