i've been scanning this site looking for solution but the problem persists. I have two datepicker in a form, they should submit a date when the form is submitted, but:

```
      start= Ext.util.Format.date(Ext.getCmp('start').getValue(),'Ymd');
      end= Ext.util.Format.date(Ext.getCmp('end').getValue(),'Ymd');

```

those lines of code result in two empty strings in GET call to the server. I cannot understand why. Below you'll find the code for the datefields:

```
 {
xtype: 'datefield',
fieldLabel: 'Start date',
format: 'Ymd',
id:"start",
//altFormats: 'Ymd',
listeners: {
    'change': function(me) {
        alert(me.getSubmitValue());
    }
}},
{
xtype: 'datefield',
fieldLabel: 'End date',
format: 'Ymd',
id: "end",
//altFormats: 'm/d/Y',
listeners: {
    'change': function(me) {
        alert(me.getSubmitValue());
    }
}},

```

Do you see the two listener under the definition of the fields? Whel they work perfectly, i mean, the value to be submitted for then is actually the string i'm searching for but i cannot get with the first two lines of code i've shown you. I tryed even to write:

```
   getSubmitValue()

```

instead of:

```
   getValue()

```

But the result doesn't change at all.
Any idea why?