JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to Make a Birthday Picker with no Year QuestionAsked by aytekin 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.
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!?
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.
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"
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:
That worked great...