I am using an Ext DateField like this in **date.js** ( I only have access to Ext 2.2 here and CF 7,0,2,142559 on JRun4):

```
function initCalendars() {
var textFields = Ext.query('.ExtDateField');
var dateFields = [];
Ext.each(textFields, function(textField) {
    var dateField = new Ext.form.DateField({
        allowBlank:false,
        format:'Y-m-d',
        applyTo: textField
    });
    dateFields.push(dateField)
});
}

Ext.onReady(initCalendars, this);

```

I found this simple solution on line but now I need to get the date to my CF query from **order.cfm**...

```
<form id="commForm">
<label for="date1">Pick a Date... </label>
<input class="ExtDateField" type='text' name='date1' value=""/>
<input type="submit" name="submit" value="Search">
<br>
<br>

</form>

<cfinvoke 
    component="MyComponent" 
    method="getMethod"  
    returnvariable="commlist">
        <cfinvokeargument name="order_dt" value="?????????">
</cfinvoke>

```

I am stuck as to what to use for value to send this to the query. I tried #date1.getValue#, #commForm.date1.getValue# and "commForm.date1.getValue" and get CF errors telling me that either order\_dt is not a date type or that date1 is undefined. Probably something basic but I can't figure it out. 

The .cfc works fine when I enter a date manually and I'd really like to get the date picker working if I can.