Change date range in datepicker
Change date range in datepicker
In an older version of AppGini I was able to change the starting date from 1900 to 1800 by simply changing the number in datalist.php. In 5.30, things have changed. I found the 1900 in date_combo.class.php, but changing it did nothing. Does anyone have a suggestion?
Re: Change date range in datepicker
I would love to know as well. I capture the date of birth using the datepicker and my users give me lots of 'constructive feedback' about 1900...
Re: Change date range in datepicker
I changed mine from 1900 to 2007 in *****_dml.php
search for MinYear
search for MinYear
Re: Change date range in datepicker
Thanks.... When calling up the older script in 5.30, the date fields were also converted to varchar. I've got to spend more time working with the program. 

Re: Change date range in datepicker
Oops!! 5.30 did not change the field to varchar... done by another person trying to fix the problem.
Re: Change date range in datepicker
@jinxy45, super.!!! Thanks much for sharing.
Re: Change date range in datepicker
Hi,
does anyone know of a way to adjust MinYear via a hook entry?
*****_dml.php are always overwritten.
Thank you very much,
Kai
does anyone know of a way to adjust MinYear via a hook entry?
*****_dml.php are always overwritten.
Thank you very much,
Kai
Re: Change date range in datepicker
... or even better how to limit the input to dates >= today 

- baudwalker
- Veteran Member
- Posts: 187
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: Change date range in datepicker
Set the default to "1"
- Attachments
-
- Capture.PNG (13.26 KiB) Viewed 769 times
Re: Change date range in datepicker
Hi, thanks very much! That gives me the current date as default. But sorry - what I'm looking for is a way to limit the range of year numbers using hooks. Best regards!