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

    Condition Show/Hide Field : It's not working with condition based on date

    Asked by marinamercante on January 18, 2016 at 03:01 PM
    if you see there is a
    condition to display a warning or error message and is not working, can
    you help me on that? I'm looking to force users to input the desire port
    arrival date and time 72 hour in advance.
  • Profile Image
    JotForm Support

    Answered by Kevin_G on January 18, 2016 at 03:02 PM

    Hi,

    I checked your form and I can see you have not configured your conditions properly : 

    Also, I noticed that the condition is only working when the date field is filled, If you would like to show the message only when the condition is filled then you should hide the field : 

    Try doing it, and let us if it works.

    Thanks.

  • Profile Image

    Answered by marinamercante on January 19, 2016 at 10:37 AM

    Ok let me see if I can explain a little better lets say I want to arrive to port on the 21 of january and today is the 19, so if I input the date january 20 the form should display the message that I have to notify 72 hour in advance and hide the submit button, if the parameter are fullfill and the date of arrival is more than 72 hour then the message remains hidden and the user can hit the submit button.

     

    My question is because if I input -1 will be one day before the present day and I need 3 days before present day so is the 72 hour in advance.

     

    Thanks for your time and waiting for your help.

     

     

  • Profile Image

    Answered by marinamercante on January 19, 2016 at 11:03 AM

    I also notice no less than or more than or I cant Find it, I think there has been mayor changes on coondition since I wrote those I'm just don't know how to do them again, it may be eassy to explein me how to doit from scratch if is not much trouble.

  • Profile Image
    JotForm Support

    Answered by steve on January 19, 2016 at 01:11 PM

    The types of comparison statements vary per field type. If you select the number field you'll see the less than and greater than options. If you select date it will show previous and next, and so on. Here's a basic tutorial on setting up conditions.

    http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic