PDA

View Full Version : DateField: Is there a way to specify the return value for nulls?



steverc
21 Nov 2009, 6:41 PM
The Ext.form.DateField appears to return "" when the user erases an existing date in the field. However, the JSON processor I am using (Jackson) appears to expect the value "null" instead of "".

Is there a way to tell the field to return "null" instead of "" when there is no value in the field?

Thanks,
Steve