PDA

View Full Version : Flash 8 DateField



krs4kirupa
December 23rd, 2005, 04:03 AM
hi
Anyone used the DateField component in Flash 8. I have designed a flash contact form with a DateField to select a date, and send that selected date to myemail with all other information. Also I like to know whether it is possible to set date selection range from current date to future, disableing all the past. Hope you can give me a lead. or some tutorial link.
Thanks
krs

joene
December 23rd, 2005, 03:05 PM
Well, you can't really disable the calendar for the past. You'll still be able to select a date in the past, f.e. february 3rd. What you can do, is compare the two dates in your code, and if the selected date is smaller than today's date, generate some sort of errormessage.