How can I filter form users by zip code?

  • Profile Image
    benpearson
    Asked on March 14, 2016 at 01:34 PM

    If a user enters a zip code for example 55405.  I would like the form to proceed to the next page.  If the user enters a zip code that is not in our service area, I would like to display a disclaimer that we do not currently service your area.   Does anyone know how to accomplish this?

  • Profile Image
    Jan
    Answered on March 14, 2016 at 02:14 PM

    This is possible with JotForm by using conditions. Please check this demo form. You can clone it if you like.

    I used the Skip to a Page condition in order to achieve this. As you can see, if the Zip Code is Equal to the value of 55405, it will go to page 2 once you click the next button.

    If it is not equal to 55405, it will jump to page 3.

    Related guide: Smart-Forms-Using-Conditional-Logic

    Hope that helps. Thank you.

     

  • Profile Image
    benpearson
    Answered on March 14, 2016 at 02:17 PM

    How can you not display the final page 3 if the zip code conition is met when submitting the form?

  • Profile Image
    Kevin_G
    Answered on March 14, 2016 at 03:08 PM

    I think you are referring to this page where a message is displayed indicating that the zip code is invalid even when the entered code is correct. 

    If so, you will need to add a condition to your form, the condition should look like this:

     

    This should be the result:

    Here is my sample form with the update: https://form.jotform.com/60736118180957

  • Profile Image
    EMYEstetica
    Answered on November 15, 2016 at 03:44 PM

    Nice. what about if you have more than one Zipcode. I say in bulk with all the zipcode listing?
  • Profile Image
    Kevin_G
    Answered on November 15, 2016 at 03:57 PM

    @EMYEstetica,

    In order to assist you better I have moved your question to another thread, it can be found here: https://www.jotform.com/answers/990816 

    We will assist you on that thread as soon as possible.