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
Formbuilder DatePicker Question
- johnbmcdonald
- Forum Members
- Posts: 60
- Joined: Mon May 14, 2007 8:01 pm
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Formbuilder DatePicker Question
That should do it..... Ideally, the start and end date should be options in the field.... can you file a feature request for that?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
- johnbmcdonald
- Forum Members
- Posts: 60
- Joined: Mon May 14, 2007 8:01 pm
Re: Formbuilder DatePicker Question
Sure thing, I'll do that. Thanks for your help.
John
John
Re: Formbuilder DatePicker Question
This option has been implemented in the svn version. Look for a new release soon!
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
- johnbmcdonald
- Forum Members
- Posts: 60
- Joined: Mon May 14, 2007 8:01 pm
Re: Formbuilder DatePicker Question
Excellent! 
Thank You
John

Thank You
John
Re: Formbuilder DatePicker Question
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
LOCKED
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.