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, it would be nice to be able to specify a date range.
Thanks
John
Formbuilder feature request
- johnbmcdonald
- Forum Members
- Posts: 60
- Joined: Mon May 14, 2007 8:01 pm
Re: Formbuilder feature request
+1
Thanks
Thanks
Re: Formbuilder feature request
Try this solution - open /modules/FormBuilder/classes/DatePickerField.class.php with your favourite editor. On line 55 you will foundjohnbmcdonald wrote: The problem is that the dates in the dropdown go from 1997 to 2016
There you can change the values - red is for start date, green is for end date.for ($i=$today['year']-10;$i<$today['year']+10;$i++)
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Formbuilder feature request
This feature is already in SVN afaik, and will be in the next full release of formbuilder.
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.
Re: Formbuilder feature request
Thank you Cyberman and Calguy.
I wonder wheather the special characters will be treated in the next version. (A solution using the html entities proposed elsewhere dosn't work for me.)
I wonder wheather the special characters will be treated in the next version. (A solution using the html entities proposed elsewhere dosn't work for me.)
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Formbuilder feature request
I know SjG is doing something for that as well.
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.