Conditional statements based off ZIP Code

  • Profile Image
    DJ Porter
    Asked on January 17, 2019 at 03: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? 

  • Profile Image
    Mike_G
    Answered on January 17, 2019 at 04: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.

  • Profile Image
    wizardsofpoo
    Answered on January 17, 2019 at 09: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. 

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

    1547784963t23_15_48.png

    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.png

    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.png


  • Profile Image
    wizardsofpoo
    Answered on January 20, 2019 at 09: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. 

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