0 Replies Latest reply on Jan 19, 2011 10:08 AM by djh88ukwb

    mx:DateField  SelectableRange start and end problems

    djh88ukwb Level 1

      Hello all


      I have a datefield and i want it so the user cant pick a date previous to the current day and cant pick a date more than two months ahead of the currrent day.


      So far i have this


              <mx:DateField y="90" width="170" x="120" id="CJ_date" formatString="DD/MM/YYYY" selectableRange="{{rangeStart:new Date()}}"/>


      This works fine for not letting me pick a previous date but no matter what i try i cant get the end date to work, can anyone help please?