Hide fields based on time

  • Profile Image
    reciproc8
    Asked on April 29, 2013 at 01:00 PM

    Hi

    I am using a form for an enter to win and I want to have the field hidden according to what time it is.  The contest goes live at 5pm PST.  I know I can do this using conditions but my concern is this:

    People from all north american time zones will be entering.  Is there a way to make the form go live at 5pm PST or does it only work according to one's time zone and does Jotform's date & time widget pick up the time from that which is set on the participant's computer system?

    If someone is on my page and the form is embedded using javascript, will the form automatically appear or would a person be required to refresh to have the form show up once it goes live?

    I know I can use the date/time widget and make it hidden by injecting CSS.  What is the code I inject again?

     

    Thanks

  • Profile Image
    moonzkie
    Answered on April 29, 2013 at 02:46 PM

    Hi,

    1. Unfortunately, the date/time field will show the local time on ones computer, therefore it is not possible to set it to a specific time zone. However, I see how this might be useful. I will try to submit this to our feature request list and hopefully, our developers can integrate this in the future.

    2. The form embedded on Javascript usually will automatically appear once they open the page. Unless, they have disabled javascript on their browser.

    3. The CSS code for hiding the date/time field should look something like this:

    #id_6 { display:none; }

    Although, please note that once you have injected a CSS even if you have a Condition where it will show the said field.

    Hope this somehow clarifies your inquiry.

    Thank you.