View Full Version : Date validation

Glenn Jarzomkowski
4 Nov 2008, 4:11 AM

Allowing empty date field ??

is there a way to ommit the date-validation eg. the field is allowed to be blank. I've tried to set allowBlank: true, but i doesnt work. Here's the code:

{fieldLabel: "Date"
,name: "NOUDAT"
,id: panelId + "NOUDAT"
,maxLength : 10
,value: row.data['NOUDAT']
,width: 100
,defaultType: 'datefield'
,format: ("d.m.Y")
,xtype: 'datefield'
It's only when the field's not blank, the validation should start...

Regards !