- modiconAsked on August 08, 2011 at 11:29 AM
eg. extend the "year" dropdown choices to 2021 rather than 2015.
Even better... make the range user settable.
- JotForm FounderaytekinAnswered on August 08, 2011 at 12:09 PM
Get full form source code, copy it to your web site and then edit the options on the year field.
Here is how you can get the form source code. Open the form on the Form Builder:
1. Open "Setup & Share" tab on toolbar,
2. Click on "Embed Form"
3. Click on "Source Code" and copy the code provided.
- modiconAnswered on August 08, 2011 at 01:14 PM
The problem is I don't run the form off my webpage, I run it from my account on your server. Is there any way I can edit the source code directly on you server and save it back without embedding?
- JotForm SupportNeilVicenteAnswered on August 08, 2011 at 03:33 PM
A solution is to use 3 different drop downs for the Day, Month, and Year instead. There are options for months when you click the field and the Special button in the toolbar.
You can just enter the years and the days in the text area when you click the Options button.
Also, you may want to shrink the fields so that they are all in the same line. Just right click the field then click "Shrink"
Adjust the width of the drop downs as well so that they don't take as much space
Take a look at this sample form to see this workaround in action. I hope you find it useful. Thanks!
- modiconAnswered on August 08, 2011 at 04:29 PM
Great work-around Neil, Thanks
Unfortunately it doesn't look as good as the DATE control because it doesn't group them together as a date and changes the look of my form. Do you think that in future updates the control will have a user settable range for the year or at least a "frame" control that would give a group of controls the same look as the date control does now?
- JotForm SupportNeilVicenteAnswered on August 08, 2011 at 04:44 PM
I absolutely have no idea if what you're requesting can be included in future updates. I will try to submit a request ticket, then we'll see what our developers can say about it. I just want to remind you though, our development teams are very busy with other commitments such as bug fixes and feature integrations that have been long overdue.
With that in mind, I cannot promise anything as of now.
Oh, and by the way, this just crossed my mind. Why don't you use the DateTime field instead. Serves the same purpose, but with years that extend way beyond 2021. Take a look at it. I really think it's the best workaround to your problem.
- modiconAnswered on August 08, 2011 at 06:05 PM
Thanks Neil, I like the last solution you proposed :-) It works well and preserves the look and feel of my form.
Thanks for your patience,
- JotForm SupportNeilVicenteAnswered on August 08, 2011 at 07:13 PM
Glad to hear that you liked it. To be honest, I'm still scratching my head until now, wondering why I have not thought of it right away. Surely would have saved some time :)
Anyway, feel free to search the forum or ask around if you questions lingering in your mind. Thanks!