Zip code conditions fail on my form

  • Profile Image
    wilhelmsendk
    Asked 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 ?

     

     

  • Profile Image
    AIDAN
    Answered 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.