- benjaminaureliusAsked on August 11, 2014 at 01:49 PM
I am using the standart birthday picker in my form. How could I set the pickers to be prefilled, e.g. 1th january 1980 instead of them beeing all empty.
- JotForm SupportMike_TAnswered on August 11, 2014 at 02:35 PM
Thank you for contacting us.
There is no way to do set a default date on the Birth Date Picker tool via the editor. However, it is possible to use a form prepopulation URL in order to set the date.
You can use the following URL to construct the prepopulation URL for your form:
Alternatively, you might consider using a DateTime field with enabled Default Time option:
Please feel free to contact us if you need any further assistance.
- benjaminaureliusAnswered on August 14, 2014 at 02:41 PM
Thank you for the tip. But it doesnt seem to work with embedded code, in my case for wordpress. I use the <script src= etc. beginning. As soon as I change the normal URL which links to /jsform/... to the prepopulated one, the form is not shown anymore.
- JotForm SupportdavidAnswered on August 14, 2014 at 05:07 PM
Unfortunately there is no possible way to do this currently within the form. I have submitted a feature request to see if this is something we can add in the future. Please let us know if you have any further questions and we will be happy to help.
Thank you for using JotForm!
- JotForm SupportsteveAnswered on August 15, 2014 at 01:23 AM
You may also consider using the DateTime field instead. You can turn off the Time via the element properties. It's a better date picker, and comes with a popup calendar. You can also set a default date of the current date. It doesn't have the ability to set the default date to any particular date though.
Please give it a try and let us know if it will work for your needs.
- JotForm FounderaytekinAnswered on August 15, 2014 at 03:12 AM
"Thank you for the tip. But it doesnt seem to work with embedded code"
This could work if you use the iframe code instead.
I know you are using wordpress and iframe code may or may not work on wordpress. So, I am not sure if it will work, but you can give it a try.
- JotForm SupportsteveAnswered on August 25, 2014 at 10:02 PM
We decided not to update the Birthday picker to allow custom default dates. Instead, we're going to update the DateTime element to allow:
1) default time of Now
2) custom default time
3) default date of Now
4) custom default date
We'll update this ticket once that's implemented.
- MacclesfieldCollegeAnswered on November 12, 2014 at 05:27 AM
Any news on this please?
- JotForm SupportsteveAnswered on November 12, 2014 at 06:25 AM
As per my comment above we've decided not to update this, in favor of the DateTime element. Please use that instead. It's accessible from the main interface on the form builder.
- MacclesfieldCollegeAnswered on November 12, 2014 at 06:29 AM
Yes, sorry. I do mean the DateTime element. I cannot get that to have a default date also. I am using Dreamweaver source code.
- JotForm SupportWelvinAnswered on November 12, 2014 at 09:19 AM
You can prepopulate the form URL, for example:
Where "datetime" is the field name. [month], [day] and [year] are standard prefix to identify each boxes.
Then use our iFrame method when embedding your form. In the iFrame codes, replace the current URL to the one with prepopulated values. This should work. Kindly try it.