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

    I have a date field that is not formatting correctly for normal desktop

    Asked by creswellcasey on June 25, 2017 at 10:25 AM

    Hi there

    I have a date field that is not formatting correctly for normal desktop.

    It's even worse on an iphone.

    Can you please assist?

     

    On a desktop the hours/minutes labels are not correct -   Also the AT symbol is hidden beneath the fields. (it can be removed)

     

    And on an iphone the same thing is happening PLUS the AM/PM symbol has slipped to the next page.
    Regards

    Cres

    Page URL:
    https://www.jotform.com/71744382891869

  • Profile Image
    JotForm Support

    Answered by Welvin on June 25, 2017 at 11:47 AM

    I've fixed it for you by adjusting your custom CSS Codes, specifically for the DateTime field to the following:

    [data-type="control_datetime"].allowTime .allowTime-container {

        float: none !important;

        margin-left: 20px;

    }

    @media only screen and (max-device-width: 768px) {

        [data-type="control_datetime"].allowTime .allowTime-container {

            float: none !important;

            margin-left: 24px !important;

        }

        [data-type="control_datetime"].allowTime .allowTime-container .form-sub-label-container:first-child {

            width: 5% !important;

            margin-left: 2% !important;

        }

        [data-type="control_datetime"].allowTime .allowTime-container .form-sub-label-container {

            margin-right: 5% !important;

        }

        [data-type="control_datetime"].allowTime .allowTime-container .form-sub-label-container {

            width: 24% !important;

        }

        [data-type=control_datetime] .form-sub-label-container+.form-sub-label-container+.form-sub-label-container {

            width: 24% !important;

            margin-right: 5% !important;

        }

        [data-type="control_datetime"].allowTime .allowTime-container .form-sub-label-container:last-child {

            width: 24% !important;

        }

    }

  • Profile Image

    Answered by creswellcasey on June 25, 2017 at 11:49 AM

    Hi Welvin - I've had a few issues sorted by you.

    You're awesome!

     

    Thanks Again

    Cres