flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shervin Asgari <shervin.asg...@webstep.no>
Subject Re: Validate two fields in a validator
Date Thu, 26 Sep 2013 12:37:44 GMT
Thanks! That will help.
I will look at it


2013/9/26 Miguel Ferreira <miguel.cd.ferreira@hotmail.com>

> sorry about the short reply.
> but we can see here:
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/DateChooser.html#selectableRange
> That will help your user to no select some dates
> on the rangeStart : just put the selected date from the your component
> then you can add one day or something that adjust your BL.
> I hope that helps.Miguel
>
> > From: miguel.cd.ferreira@hotmail.com
> > To: users@flex.apache.org
> > Subject: RE: Validate two fields in a validator
> > Date: Thu, 26 Sep 2013 13:16:54 +0100
> >
> > you can also give a selectedRange then that error is prevented.
> >
> > > Date: Thu, 26 Sep 2013 14:14:21 +0200
> > > Subject: Validate two fields in a validator
> > > From: shervin.asgari@webstep.no
> > > To: users@flex.apache.org
> > >
> > > Hi.
> > >
> > > I have a date validator on each field which validates if they are a
> correct
> > > date.
> > > However, in one of the two date fields, I need to validate if it is
> after
> > > the other date.
> > >
> > > So this means I have to somehow get the other inputfield date in my
> > > validator.
> > > I have tried to do this using a listener on the other field, but it
> > > retrieves null.
> > >
> > > Any ideas how I can do this?
> > >
> > > Shervin
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message