How to Hide a field with "Time"

  • Profile Image
    ddemitrius
    Asked on September 20, 2025 at 1:11 AM

    I have a field on my form which says Not available after 6:00 pm and before 8:00 am. However people still select this field how do I hide this field during the period from 6:00 am to 8:00 am

  • Profile Image
    Bojan Support Team Lead
    Replied on September 20, 2025 at 2:41 AM

    Hi Derek,

    Thanks for reaching out to Jotform Support. I have checked your forms, however, I wasn't able to find one that would match with your question. Could you share the URL of the form you are looking for and let us know the label of the question you would like to hide?

    As soon as we hear back from you, we can move forward with a solution.

  • Profile Image
    ddemitrius
    Replied on September 20, 2025 at 5:14 AM

    Hi Bojan


    The link to my form is https://www.punepetcremations.com/request-for-cremation-services

    Mode of Payment : Pay at Site (Not available from 6:00 pm to 8:00 am.

    Thanks

  • Profile Image
    Bojan Support Team Lead
    Replied on September 20, 2025 at 7:49 AM

    Hi Derek,

    If you wish to hide this specific field, you'll have to add a time field on your form and check it with conditions. Let's first add the field:

    1. Open your form in the Form Builder, and click on Add Element from the left.
    2. Locate the Time element and drag it to your form to add it.
    3. Once you add it, you can right-click on it and choose Hide, to hide the field from your users.

    How to Hide a field with Time Image 1 Screenshot 50

    Once the field is added, we need to configure it:

    1. Click on the Gear icon next to the field.
    2. From the right panel, choose Options tab.
    3. Set Time Format to 24 hours.
    4. Also, for the Default Time choose Current.

    How to Hide a field with Time Image 2 Screenshot 61

    Now we have a field with the current time. All that is left is to configure a condition to hide the field between specific hours:

    1. While in the Form Builder click Settings at the top orange bar.
    2. From the left menu, choose Conditions.
    3. Click on Add Condition and choose Show/Hide Fields.

    How to Hide a field with Time Image 3 Screenshot 72

    In here, create a condition like this:

    How to Hide a field with Time Image 4 Screenshot 83

    In case this condition is false, the field will be hidden.

    Give it a try and let us know how it goes.

Your Reply