0 Replies Latest reply on Sep 23, 2010 2:37 PM by Fred in Orlando

    mx:DateField customization

    Fred in Orlando Level 1

      I've subclassed a DateField using mxml to handle a few special cases.  Now I've got a new special case requirement that has me stumped.


      I need to allow the user to enter a dash "-" to indicate the field is not-applicable.


      I've enabled editing, which allows me to type anything into the field, but it seems to only generate an event only if the text is a valid date.


      Is there a reasonably easy way to make the DateField do this.  If I'm stuck, I can add a checkbox to the layout to generate the equivalent event.


      I'm not using the standard form/submit pattern, each field sends an update to the server when it is changed, which better fits my requirements even if it is not the most efficient.