We have a form that asks for DOB. When the user clicks on the calendar icon to change the date, it only goes back to 2007. If we choose a date in 2007 and then open the icon back up it will then show back to 1997 and will keep bumping back 10 years each time you do that. Is there any way to make more years show up from the beginning?
Page 1 / 1
We contacted Nintex Support and received this answer.
Yes, unfortunately the OOB Calendar setup only spans +/- 10 years. You can use this to resolve the issue you are having. I tested it and it works for me.
NWF$.datepicker.setDefaults({
yearRange: "1900:2015"
});
Expand the date range to what you want to show under Form Settings > Custom JavaScript
I found the better way to do it is
NWF$.datepicker.setDefaults({
yearRange: "-100:+0"
});
This will have the calendar icon drop down start at the current year and always go back 100 years.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.