I ahve used the following code to render my datefield in a div. the divId is an argument passed to the function. this renders the date control correctly.

when i post the form containing this datefield when i try to look at the formcollection (request.form) the key for the datefield does not exist in this collection. any idea why this is happening? and the weirdest thing is that it works in IE but not on firefox.

Note: the form has other fields which are passed successfully.


dateField = new Ext.form.DateField({
els: els.dom,
grow: true,
format: 'm/d/Y',
fieldLabel: divId + "field",
name: divId + "Textbox",
//minValue: startMinDate, //set for minimum start and end date
//maxValue: startMaxDate,
allowBlank: false,
readOnly: true,
buttons: [{
text: 'Save'
}, {
text: 'Cancel'
dateFieldSet = true;