All,
I am sure this is a pretty easy question but it is just causing me some issues. I am using ExtJS 3.3.1 and below is my code for a DateField. When the DateField is valid I would like it to call this function, however nothing is currently happening when I change the field.
Thank you in advance for your assistance.
Matt
Code:
new Ext.form.DateField({
id: dt.id,
applyTo: dt,
"format": 'm/d/Y',
invalidClass : 'ux-status-error',
validateOnBlur : true,
valid: function () {refreshEmp();
}
//"altFormats": 'j|j/n|j/n/y|j/n/Y|j-M|j-M-y|j-M-Y'
});