How to show or hide a field based on a time-frame.

  • Profile Image
    cheapo
    Asked on August 25, 2018 at 05:49 PM

    I am Working On Re-Key/New lock Install Form

    We want to add a condition on the Time & Date element (Basic elements not Widgets)

    IF (certain time and Date)  

    SHOW (Text Messsage)

    (Depending the time is the text we want to show) Different time different message 

    If that's Possible, Can you please give me a actual example on how to do it please.

    I appreciate a quick response 

  • Profile Image
    BDAVID
    Answered on August 25, 2018 at 10:31 PM

    You can implement the same workaround as shown on this guide: https://www.jotform.com/help/439-Conditionally-Enable-or-Disable-a-Form-Based-on-Time 

    Just omit the "hide" part. Let us know if you have more questions.

  • Profile Image
    cheapo
    Answered on August 28, 2018 at 06:17 PM

    Thank You for your help your example was very helpull..

    I was able to do the first schedule without a problem but when i ddd the 2nd schedule both texts appear and the times are different.

     "8:00am to 6:00pm - Week-Day"

    "6:01pm - 8:00pm - Week-Day"

    "8:01pm - 12:00 Midnight - Week-Day"

    "12:01 Midnight - 7:55am - Week-Day"

    "7:00am to 6:00pm - Week-End"

    "6:01pm - 8:00pm - Week-End"

     "8:01pm - 12:00 Midnight - Week-End"

    "12:01 Midnight - 7:55am - Week-End"


    These are all the schedules I need to make conditions on the time based on every schedule is going to be a different text..

    Do you think I am Going to have problems?

    and why does my second condition showing? (working on RE-KEY/LOCK NEW/ INSTALL)

  • Profile Image
    BDAVID
    Answered on August 28, 2018 at 07:48 PM

    Try switching from "any" to "all":

    1535499334works.png

    It appears to work fine:

    1535500064working.png

    Let us know if you need more help.

  • Profile Image
    cheapo
    Answered on August 28, 2018 at 08:35 PM

    Thank You..!

  • Profile Image
    cheapo
    Answered on August 28, 2018 at 09:03 PM

    For Some Reason the second condition does not show... I followed Your instructions I changed ANY to ALL and waited to be the time frame of the condition and no text message appears.

    Can You please tell me what I am Doing wrong.

    Thank You...! 

  • Profile Image
    cheapo
    Answered on August 28, 2018 at 09:07 PM

    Sorry, It shows already... Took an Extra 5 Min to show 

    Thanks For Your Help


  • Profile Image
    BDAVID
    Answered on August 28, 2018 at 10:08 PM

    Glad to know that it works. Open a new thread if you need anything else, we will be glad to assist you.