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

    Year on date field is cut off on mobile phone

    Asked by JasonMarsh on February 07, 2015 at 11:23 AM

    Hi,

    When viewing the form using a phone the year does not fully show.

    How can I fix pls?

    Screenshot attached.

    Cheers

    Jason

    Page URL:
    http://form.jotformeu.com/form/50184662349358?

    Screenshot
    size attached year cut off injected css mobile responsive
  • Profile Image

    Answered by bkljaic on February 07, 2015 at 01:20 PM

    Hi Jason,

    You can fix this problem with using custom CSS. 

    Inside of builder:

    1. Go to Setup & Embed 

    2. Then click on Preferences 

    3. Go to tab Form Styles

    4. Inside field Inject Custom CSS insert this code

    #year_9{

    min-width:45px;

    }

    #input_9_pick{

    padding-left:8px;

    }

    Here is the result I got:

    Hope this will help.

  • Profile Image
    JotForm Support

    Answered by KadeJM on February 07, 2015 at 03:04 PM

    As "bkljaic" has mentioned here it is easily possible to fix the issue with your year not fully showing on your date field with the above example of injected css.

    Additionally, I have tried and tested it on my iPhone 6 and it displays the year perfectly.