Restrict submission based on zip code

  • Profile Image
    osama20adnan15
    Asked on February 21, 2021 at 07:17 PM

    I have a Moving Company and I offer moving services Only in one city, but not all Villages. 

    So I wanna to allow the customer to write is zipcode then if he write one of zipcodes I entered it(If it matches) let him countinue and if not he will can't submit or countinue. 

    I'm new here and didn't used jotform befor thank.

  • Profile Image
    Vanessa_T
    Answered on February 22, 2021 at 12:49 AM

    You can add a Short Text field or a Number field where the user can input the Zip Code, then create a condition, that if the value that the user has entered matches the zip code you cater, then display the Submit button.

    How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    Though, personally, on a user's perspective, it would be ideal if you add a Paragraph field at the top of your form stating that you only cater this city, then add a Single Choice field asking the user if they are on the city that you cater. If yes, show the rest of the form using a condition.

    Quick-Overview-of-Form-Fields

    Hide-or-show-multiple-fields-at-once

    This way, users don't spend useless hours filling out a form and just later on find out that they can't be serviced.