This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
date control gives only 20 years span!
Started 12 years ago by alecd4 | 4 posts |
-
I noticed that date control only gives 20 years span. Behaves strangely. How do I use it for birthdays with century span - from 1920 - 2020?
Posted 12 years ago # -
When you select the upper limit of the date control, it will automatically adjust the list, so you can select it again and going backward.
MachForm Founder
Posted 12 years ago # -
Yes I experienced this problem as well. This can be very cumbersome. For example in you want to enter 1965 you have to start at 1901, then use year dropdown the date picker and select 1929 then again 1939, 1949 1959 and eventually 1965. Much better I think if you can just free type the exact date you want?
Posted 12 years ago # -
The date picker currently being set to display 10 years in the past and 10 years in the future.
You can change this range by editing "machform/js/datepick/jquery.datepick.js" file.Around line 32 you should find this code:
yearRange: 'c-10:c+10',
you can change it to be like this:
yearRange: 'c-100:c+10',
that would allow selection to 100 years in the past.
MachForm Founder
Posted 12 years ago #
Reply
You must log in to post.