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

    How to place questions side by side and hide the year field on a date picker?

    Asked by smeplanner on January 12, 2015 at 04:32 PM


    I've tried to adjust properties but can't seem to get them to line up side by side.

    The specific ones are for the airline - departure city, preferred airline.

    PLUS, on the date selector for their flight, can I remove the YEAR?

    See screenshot.





    Page URL:

  • Profile Image

    Answered by raul on January 12, 2015 at 05:29 PM

    Please check the following cloned version of your form: http://form.jotformpro.com/form/50116912308952 

    What I did was to shrink the Frequent Flyer Number and then right-click it to move it to a new line.

    And also injected the following CSS code:

    #year_21{ display: none; }

    label[for=year_21] {display: none;}

    #cid_21 > span:nth-child(2) > span {display: none; }

    Since the year field on a date picker cannot be removed, you can hide it using CSS. The code above is to do that.

    Give it a try and let us know how it goes.

    Also, you can clone my form to your account if you want to.

    Best Regards.