What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

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.


  • Profile Image

    "Date" Field with Only "Month/Year" Options

    Asked by dlasson on August 27, 2015 at 10:36 AM

    I could not find a thread that addresses my specific need.

    I want to have a field where users can select a month and a year. Specifically, the question that users will answer is: "Employment Start Date:" and they would select from "month" and "year" dropdown fields (on one line). 

    Thanks.

    find select start date
  • Profile Image
    JotForm Support

    (Private)

    Answered by Mike_G on August 27, 2015 at 02:55 PM

    If you create two drop-down fields with each having specific options manually and position them in the form so they will be in one line, it will be considered as two fields and will appear in the submission as two fields.

    You can use the DateTime field and disable the "Day" textbox using CSS code so it will not show on the forms. You can also use CSS codes for the calendar drop-down to remove the days of the week. 

    You can check this form http://form.jotformpro.com/form/52386319191964

    Please feel free to clone it so you can inspect the CSS codes added.

    I hope this helps. Let us know if you need any further assistance. Thank you. 

  • Profile Image

    Answered by dlasson on August 28, 2015 at 11:53 AM

    It would be easier for users to just select a month from a month drop-down menu and a year from a year drop-down menu. Is that possible?

  • Profile Image
    JotForm Support

    (Private)

    Answered by Mike_G on August 28, 2015 at 03:47 PM

    There are two widgets that you can use to accomplish such task: 

    Dynamic Dropdowns Widget

    Here's a sample form for the Dynamic Dropdowns Widget: http://form.jotformpro.com/form/52395579265974

    Configurable List Widget

    Here's a sample form for the Configurable List Widget: http://form.jotformpro.com/form/52396191727968

    Please feel free to clone the forms so you can inpect their settings. 

    I hope this helps. Let us know if you need any further assistance. Thank you.

  • Profile Image

    Answered by dlasson on August 28, 2015 at 04:52 PM

    I used the Dynamic Dropdowns widget. It worked great! Thanks.

  • Profile Image
    JotForm Support

    Answered by david on August 28, 2015 at 06:03 PM

    Glad to hear it!  If you have any further questions, let us know and we will be happy to help.

  • Profile Image

    Answered by cgrouge on June 01, 2016 at 12:11 PM

    I used the first response from Mike_G on one of my forms and it works great (http://form.jotformpro.com/form/52386319191964) but the submission is still showing the day. Is there any way to remove the day from the submission as well?

  • Profile Image

    Answered by victor on June 01, 2016 at 12:43 PM

    I have just reviewed the form and notice that my colleague added CSS to hide the day field. This only hides the field in the form, but when users enters the date, the day field will automatically be filled. If you only wish to save the month and year, I would suggest you try the other work arounds provided by my colleagues.