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 enable my users to select only working hours?

    Asked by grupomedida on May 25, 2016 at 04:11 PM

    Hello.

    I need to use the DATEPICKER and choose only hours from ex. 9AM to 20PM. I dont need the other hours like: 21/22/23hs.

     

    Can you help me please?

     

    Thanks.

    date and time and hours thanks hello
  • Profile Image
    JotForm Support

    Answered by Kiran on May 25, 2016 at 06:25 PM

    I'm not sure if I understand your query correctly. Do you mean to display only from 9AM to 20PM in the drop down list of time? If so, it is possible by adding some custom code to your JotForm. I see that the Time is not enabled for the Date field on your form. I have cloned your JotForm to my account and enabled Time in the Date field and injected some CSS code to the form to hide some options from the hours.

    Here is the CSS code added to the form:

    http://pastie.org/private/zcfjuqzymvatyetbn766zq

    Please see the cloned version of your form with added CSS code below:

    https://form.jotform.com/61457430146957

     

    Please feel free to clone it again to your account.

    Hope this information helps!