All, I have the following code to create a DateField and it works well but now I am in need to checking to see if the date inputted is valid then execute a JQuery functions called: refreshEmp.
Here is the code:
Code:
new Ext.form.DateField({
id: dt.id,
applyTo: dt,
"format": 'm/d/Y',
invalidClass : 'ux-status-error',
validateOnBlur : true,
I read that there is the validate method but just new to ExtJs and cannot figure out how to put in an if statement that would then execute this JQuery function.