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 and time field is not mobile responsive?

    Asked by Eddie2492 on March 12, 2017 at 01:59 AM

    Hi, I have selected the option to make the form mobile responsive but date and time field is not responsive as you can see in the pic that its missing time field completely.

    Page URL:
    http://royalcars.com.au/quotebooking/

    Screenshot
  • Profile Image

    Answered by Eddie2492 on March 12, 2017 at 07:52 AM

    Its not responsive when the field is shrink.. but its responsive with fill width...

  • Profile Image
    JotForm Support

    Answered by Welvin on March 12, 2017 at 08:16 AM

    Can you check now? I've added some custom CSS codes to fix it.

  • Profile Image

    Answered by Eddie2492 on March 12, 2017 at 08:22 AM

    You genius ..... its working perfect now 

    Thanks heaps!

  • Profile Image

    Answered by Eddie2492 on March 12, 2017 at 08:37 AM

    hi, I have another date time field in the form and that field is still behaving the same and not responsive on the mobile device.

     

  • Profile Image
    JotForm Support

    Answered by Charlie on March 12, 2017 at 11:11 AM

    Replace your current custom CSS code with this one:

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

        #cid_66 > div > span:nth-child(2), #cid_96 > div > span:nth-child(2) {

            width : 28% !important;

            margin-right : 5px !important;

        }

        #cid_66 > div > span.allowTime-container > span:nth-child(1),

      #cid_66 > div > span:nth-child(4),

       #cid_96 > div > span.allowTime-container > span:nth-child(1),

      #cid_96 > div > span:nth-child(4) {

            width : 6% !important;

            margin-right : 5px !important;

        }

        #cid_66 > div > span.allowTime-container > span:nth-child(2),

      #cid_96 > div > span.allowTime-container > span:nth-child(2) {

            width : 25% !important;

            margin-left : 5px !important;

        }

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

            width : 25% !important;

            margin-right : 5px !important;

        }

    }

     

    To inject that custom CSS code, you can follow this guide: https://www.jotform.com/help/75-Customize-Your-Form-Using-Custom-CSS-Codes 

    Let us know if that works.