Well there's many ways to do this - it depends on what workflow you want your end user to go through. Like you said, you could add a clear button. You could have the DateField clear its selected date when it is opened (hook into the open event and set selectedDate to null). You could have the DateField clear its selected date when the associated TextInput is clicked into, etc.
There's many ways to do this and all the hooks to do so are provided within the component. Goodluck! deepa -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carolyn Cole Sent: Tuesday, January 24, 2006 6:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Clear DateField Hello, I was wondering if there was a standard way to let a user clear a DateField once it has been set. If thought about just adding a clear button, but that seems a bit contrived. Thanks! -- Carolyn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS * Visit your group "flexcoders" on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/