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

    Zip code conditions fail on my form

    Asked by wilhelmsendk on February 20, 2017 at 09:26 AM

    Hi jotform.

    I'm currently playing around with a price calculator for a courier business.

    I'm trying to achieve the following :

    I want to make a similar function as https://www.anyvan.com/ has on the frontpage.

    On the first form i want the user to choose what they need to transport plus the pickup zipcode and delivery zipcode

    So far im concentrating on the zipcode parts, since thats the one thats hard.

    I have the following form : https://form.jotformeu.com/70244476882362

    I have a number field called fra ( from ) 

    Here i want the customer to enter a pickup zipcode. try 1200 for example , that should output "storkøbenhavn" in the fra zone field . 

    But the second i make the following conditions, it fails. 

    i have set it up like this :

    If zipcode is bigger than 1000 and smaller than 2999 output storkøbenhavn 

    if zipcode is bigger than 3000 and smaller than 3999 output midtsjælland.


    Do you have any idea why this fails ?



    Page URL:

  • Profile Image
    JotForm Support

    Answered by AIDAN on February 20, 2017 at 11:37 AM

    Hi, thank you for contacting us.

    I have cloned your form and inspected your conditions, and noticed just two small oversights that led to them not working:

    1. You want both checks to work, so you would use "All" instead of "Any" when combining the cases inside each condition.

    2. As we are dealing with greater than, and smaller than, the limits would be 999 => 3000 and 2999 => 3999.

    I have created a screenshot to show you the final working conditions setup:


    Here is also the corrected form that I created, in case you would like to clone it and examine it: https://form.jotform.com/70504286993969

    If you need further assistance please let us know. We will be happy to help. Thank you.