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 hide the minutes in the date/time field?

    Asked by anselmamill on April 30, 2014 at 04:45 PM

    Hi,

    I want ot only give the option of using the hour field - no minutes. How do get rid of that field?

    Any one know???!

    time field
  • Profile Image
    JotForm Support

    Answered by EltonCris on April 30, 2014 at 05:44 PM

    Hi,

    That's possible with CSS inject if the date/time field is not mark as required. Is this the form in question https://www.jotform.com/41064401381140? Then I assume that this field is not set as required so injecting the following CSS codes should remove the minute field.

    select[name$="[min]"], #sublabel_minutes {

    display: none;

    }

    Result:

    Let us know if you need anything else. Regards!

     

  • Profile Image
    JotForm Support

    Answered by EltonCris on April 30, 2014 at 05:45 PM

    By the way, here's how to inject custom CSS codes to your form. http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes