How to hide AM/PM dropdown in the time field?

  • Profile Image
    Railtrain
    Asked on August 28, 2017 at 05:25 AM

    I want a submitter to advise me of the time taken to travel, I thought i could use the TIME element but it makes you choose Limit Time (AM & PM - AM ONLY OR PM ONLY)  is there a way to remove the Limit Time so it just shows Hours and Minutes?

  • Profile Image
    Kiran
    Answered on August 28, 2017 at 08:00 AM

    You may consider hiding the AM/PM dropdown by injecting some CSS code. I have cloned your JotForm and added the Time field to the form. Then I injected the following CSS code to the form to hide the drop down.

    .input_64_ampm {

    display: none;

    }

    This is how it is displayed after adding the CSS code.

    The input field ID may change when you add it to your form. However, you may find the field ID from the field properties. Here is the guide that can help you.

    https://www.jotform.com/help/146-How-to-Find-Field-IDs-and-Names

    Please get back to us if you need any further assistance. We will be happy to help.