I posted a question earlier to this list and the response that I got for 1.5 at least was to add a clear button next to the date field.
When the clear was clicked you can set the text field like Peter suggested.

It would be nice if there was an integrated way.  Maybe 2.0 has a different way.

At 08:52 AM 4/13/2006, you wrote:
DateField has a text property, which you can set to an empty string.

-----Original Message-----
From: flexcoders@yahoogroups.com [ mailto:flexcoders@yahoogroups.com] On
Behalf Of sandip_patil01
Sent: 13 April 2006 12:21
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to clear date field

Hi All,

Can anybody tell me how to clear date field.

I am using ,

<mx:DateField> tag.

From this user can select whatever date he want to select.

Suppose if user want to leave text box empty after selecting
date.i.e.blank text box.

How this can be achived ?


Thanks,
Sandip






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS





Reply via email to