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

    Is it possible to disable minutes in Time field and limit time range?

    Asked by Viditour on May 23, 2017 at 09:41 AM

    Hi,

    1. Is it possible to disable the minute selection in time fields? So that only hours need to be filled?

    2. Is it possible to limit time range; for example from 09:00 to 17:00?

  • Profile Image
    JotForm Developer

    Answered by Helen on May 23, 2017 at 11:00 AM

    Hello,

    Thank you for contacting us.

    1. Is it possible to disable the minute selection in time fields? So that only hours need to be filled?

    You can not disable the minute section your form. However, you can make invisible by injecting this custom CSS codes:

    select#input_4_minuteSelect {

        display: none;

    }

    label#sublabel_minutes {

        display: none;

    }

    span.date-separate {

        display: none;

    }

    Note that, you must delete the "Minutes" sublabel. Here is a screenshot of my test form:

    2. Is it possible to limit time range; for example from 09:00 to 17:00?

    Unfortunately, it is not possible to limit the options using the Time field. You will need to use the drop-down field as hours and minute and input the time range that you want to have as your options.

     

    I hope it helps. If you have any other questions or issue, please do not hesitate to contact us.

  • Profile Image

    Answered by Viditour on May 23, 2017 at 11:38 AM

    Thank you very much!