Conditional statements based off ZIP Code

  • DJ Porter
    Asked on January 17, 2019 at 3:03 PM

    Hello,


    Hello,


    I would like to make a conditional statement based off of the users form input using their ZIP Code. 


    It seems that the best I can do is the state.

     It seems that the best I can do is the state.


    Is there something I am missing? Or do you offer a Geo fencing feature? 

  • Mike_G JotForm Support
    Replied on January 17, 2019 at 4:48 PM

    To my understanding, you would like to use the value entered in a Zip Code field of the Address field to perform a specific action in the form if the condition is met.

    I believe that would be possible. Can you give us more details about your requirements so we can check if there is an available workaround for your concern, please?

    We will wait for your response.

  • wizardsofpoo
    Replied on January 17, 2019 at 9:50 PM

    I need to sort into service areas. If the client is not in our service area (zip code based) then I want to notify them that we are not in their area yet, also put them on a list so that when we are in their area we can notify them. 

    I also want to use their zip code to sort who gets the job. 

  • Mike_G JotForm Support
    Replied on January 17, 2019 at 11:22 PM

    You can pass the value of a regular Address field to a Short Text Entry field.

    1547784755t23 09 57 Screenshot 10

    1547784963t23 15 48 Screenshot 21

    From there, you can use the value passed in the Short Text Entry field in your conditions.

    Here's a sample condition:

    1547785139t23 18 39 Screenshot 32

    Kindly fill in this form where I have added the fields and conditions mentioned above.

    https://form.jotform.com/90166943031958

    Please try using "22255" as the zip code to show the submit button.

    1547785345t23 21 58 Screenshot 43


  • wizardsofpoo
    Replied on January 20, 2019 at 9:29 AM

    Nice. I think that willl work. As long as I can hide the short text field and till use it.

    Thank you for your help. 

  • Donald_H
    Replied on January 20, 2019 at 10:42 AM

    Yes, the short text entry field can be hidden and the conditional logic will still work.

    To hide the field, click on the properties (gear icon) for the field, select the Advanced tab from the sidebar, scroll down to the hide field option and toggle it ON. 

    1547998928Selection 209 Screenshot 10