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

  • Profile Image
    Viditour
    Asked 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
    Helen
    Answered 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
    Viditour
    Answered on May 23, 2017 at 11:38 AM

    Thank you very much!