Page 1 of 1

Formbuilder DatePicker Question

Posted: Tue Jun 05, 2007 2:36 am
by johnbmcdonald
Hi Guys,

I built a form using formbuilder  0.2.4 and I created a field to pick birth date. The problem is that the dates in the dropdown go from 1997 to 2016, is there any way to configure the date range?

If I mess with the 10's on line 55 of DatePickerField.class.php
for ($i=$today['year']-10;$i<$today['year']+10;$i++)
would that do it? or break something else?

Thanks for your help
John

Re: Formbuilder DatePicker Question

Posted: Tue Jun 05, 2007 2:41 am
by calguy1000
That should do it..... Ideally, the start and end date should be options in the field.... can you file a feature request for that?

Re: Formbuilder DatePicker Question

Posted: Tue Jun 05, 2007 3:21 am
by johnbmcdonald
Sure thing, I'll do that. Thanks for your help.

John

Re: Formbuilder DatePicker Question

Posted: Tue Jun 12, 2007 6:53 am
by sjg
This option has been implemented in the svn version. Look for a new release soon!

Re: Formbuilder DatePicker Question

Posted: Tue Jun 12, 2007 7:21 pm
by johnbmcdonald
Excellent!  ;D

Thank You

John

Re: Formbuilder DatePicker Question

Posted: Fri Apr 17, 2009 8:44 pm
by tyman00
Do not double post on the same issue. One topic will suffice, especially if you are going to drag up a 2 year old topic.

LOCKED