var form = Ext.getCmp("formX"); form.setValues({ Date1: new Date(), ... });
undefined is not a function