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

    Hide fields based on time

    Asked by reciproc8 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

    hide fields JotForm time zone hidden refresh
  • Profile Image

    Answered by moonzkie 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.