You can blank the field by placing the following statement inside the if
condition..$.rawValue = "";I had placed the messagebox to find out what
is the format of the date that is send when you choose the date from the
control. You donot need this. So you can delete
it.$host.messageBox($.rawValue)ThanksSrini