This is a discussion on "Date Validation" within the JavaScript Forum section. This forum, and the thread "Date Validation are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Date Validation
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Date Validation
Hi i need some JavaScript help (sorry for being a pain)
I have 3 combo boxes (one for the year of birth, month and day) what i want is when u select a month it generates the days in the combo box for that month (leap years wont matter) eg: if u select jan i adds 1 to 31 but if u pic feb it only has 1 to 28 and i require the date of bith to be younger than 25yrs and older than 16 years Sorry Sam Lad |
|
|
|
|||
|
Here's the code you're looking for. You have to sign up on their site to download it, but it's free.
The simplest way to limit the ages it to only supply a range of years for the age range you want. Otherwise you'll need some javascript validation which I can help with if needed. http://www.codeproject.com/useritems...cdateboxes.asp |
![]() |
| Tags |
| date, validation |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing date format in date picker | AdRock | JavaScript Forum | 1 | Aug 1st, 2006 17:16 |
| date, email and number or character validation | ntgcmlfu | Classic ASP | 5 | Jul 30th, 2006 15:32 |
| Date in Asp | Gup | Classic ASP | 1 | Jun 5th, 2006 09:05 |
| asp date | Monie | Classic ASP | 1 | Sep 21st, 2004 04:38 |
| Date Difference | ekendricks | Classic ASP | 4 | Aug 22nd, 2003 10:19 |