1 Reply Latest reply on Sep 17, 2012 12:29 AM by Atul(Flex Dev)

    Validator red border stacking on top of each other for DateField

    eZACKe

      We have a custom DateField class. When there is an error we get a red border around a TextInput and around the little Calendar icon button. A different red border around each. Problem is, if you keep clicking on the calendar icon, each time it validates and unless you've picked a correct Date, the red border multiples. So if you clck it 10 times you will physically see 10 red borders around my text input and calendar.

       

      Is there a way to get rid of this? I'd like to make it so right before the validate() method is called I clear these borders out. Thanks!