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 change width of the time field?

    Asked by kvhkommune on June 19, 2017 at 07:39 AM

    I have a form I would like to look good on my Samsung Galaxy S8

    But the time field always get to big. I cant reduce the field. Can you help me


    A test is here:

    https://form.jotformeu.com/71693359437367

     

     

    Page URL:
    https://form.jotformeu.com/71693359437367

  • Profile Image

    Answered by OzanDost on June 19, 2017 at 09:37 AM

    Hey there, 

    Time field comes quite narrow as default. Have you added anything extra like a custom css file? If not please try removing the time field and add it again to your form.

  • Profile Image
    JotForm Support

    Answered by amy on June 19, 2017 at 10:55 AM

    Hi,

    Please inject the CSS code which I have shared with you below to your form:

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

      width: auto !important;

    }

    Here is the result:

    How to Inject Custom CSS Codes

    If you need further assistance, please let us know.

    Thank you.

    Kindest Regards.

  • Profile Image

    Answered by kvhkommune on June 19, 2017 at 07:15 PM

    Thanks for fast reply

    I still have the same problem

    On my Galaxy S8+ it will not fit on one line.

     

    This is how it looks:

  • Profile Image
    JotForm Support

    Answered by Chriistian on June 19, 2017 at 11:20 PM

    I checked your form (https://form.jotformeu.com/71693359437367) and I noticed that you haven't yet applied the custom CSS code that my colleague has suggested.

     

    Please add this on your Form. Here's the guide on How to Inject Custom CSS Codes. After that, here it should appear on a mobile device:

    Please let us know if you need more help.
    Regards.

  • Profile Image

    Answered by kvhkommune on June 20, 2017 at 04:20 AM

    Thanx :)
    My mistake :)

    No it looks much better (y)