- JotForm FounderaytekinAsked on March 13, 2012 at 11:59 AM
Someone asked this on the live chat. So, I will share the solution here. It is a hack solution but it will do what you would like.
One of the great things about JotForm is that you can get the full form source code. So, you can add the birthday picker to your web site and then remove the year question from the source code. Here is how you can do it:
First get the full source code to copy to your web site. Open your form on the Form Builder.
1. Open "Setup & Embed" tab on toolbar,
2. Click on "Embed Form"
3. Click on "Source" and copy the HTML code provided to your web site..
Then edit out the year question from the birthday picker
4. On the source code, search for _year and remove the dropdown menu code and the sub-label code.
- elegantees5Answered on November 12, 2013 at 03:52 PM
After spending an hour attempting to remove the year without it looking all funky, I found these instructions do not work. Why can't it be user friendly like everything else when setting up!?
- JotForm Supportardy0689Answered on November 12, 2013 at 05:36 PM
Hello, we apologize for this inconvenience.
You may watch this video I made to show you how to remove the year properly using the form's source code.
Please click this link to view the video:
Please let us know if you need further assistance or kindly open up a new thread if it is a new topic.
- LegalJeffAnswered on February 11, 2014 at 01:07 PM
Ok two things that are not apparent for those of us who are not coders. 1. where did you edit the code, and 2. how do you insert the edited back into the form.
Note: nice video with no audio? you think if you go thru the trouble to create the video you would at least give a play by play instruction to go with what you were showing.
Additionally can I use the same actions to remove country from my address field? I created a subscription form for a local community organization and I don't need "country" and I only need the state in which the organization resides... "OH"
- JotForm SupportMike_TAnswered on February 11, 2014 at 02:40 PM
There is no way to put your updated code back to the editor, you should edit the code in any text editor, and then simply use your updated code on your web page.
If you do not want to change the form source, you can try another way. It is possible to inject the following CSS code to the form in order to hide each Year field on it:
We are trying to stick with one question per thread, so I have replied to your second question via separate thread:
- LegalJeffAnswered on February 11, 2014 at 03:54 PM
That worked great...