0

I'm wiring up a flex registration form, and need to setup a minimum age for registration of a new user of 16 years old. I see the flex calendar component has the option for date ranges and minimum year, but I didn't readily see anything in the attributes for setting a required parameter for selected to be at least 16 years prior to today's date.

What is a good way to setup a calendar validation condition for D.O.B. required to be at least 16 years prior to today?

ketan
  • 19,129
  • 42
  • 60
  • 98
Alex
  • 443
  • 3
  • 18

1 Answers1

0

"flex calendar" - custom component or "DateChooser" ? you can calculate dates via pure AS3 like: get current date -> then set the component range(s) or just compare current date - selected date :) What is the best way to calculate Age using Flex?

Community
  • 1
  • 1
user2836288
  • 98
  • 2
  • 9