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 can I squeeze a Time field?

    Asked by plott on December 04, 2016 at 09:45 PM

    I have a couple of Time fields on my form.

    I have "shrunk" them and when I place them on a line alone they take up a bunch of the line.

    However, when I try to place two on the same line, the overlap and look lousy.  How can I squeeze these such that there is not as much white space between the Hours, Minutes, AMPM?

    The form can be found here:

    https://form.jotform.com/63363112831953

     

    Thank you!

  • Profile Image
    JotForm Support

    Answered by Chriistian on December 05, 2016 at 12:20 AM

    You can inject the custom CSS code below to put the two time fields in one line and reduce the space between the hours, minutes and AM/PM. 

    #id_46 {

        clear: none!important;

    }

    #cid_45 .form-sub-label-container, #cid_46 .form-sub-label-container {

        margin-right: 0px!important;

    }

    Here's how it should look:

    If you need further assistance, please let us know.
    Regards.