Results 1 to 2 of 2

Thread: DateField valid and call function

  1. #1
    Sencha User
    Join Date
    Jun 2011

    Default DateField valid and call function


    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.


     new Ext.form.DateField({
                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'

  2. #2

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts