Prevent submission if address is outside Canada

  • Mira Boucher
    Asked on August 1, 2020 at 2:55 PM
    The form should not let anyone order if their shipping address is outside of Canada.
  • John Support Team Lead
    Replied on August 1, 2020 at 3:14 PM

    That can only be achieved using conditions. Here's how:

    1. Add an Address field into the form, enable the Country field, and use CANADA as the default.

    Prevent submission if address is outside Canada Image 10

    2. Next, add a PARAGRAPH field that will contain a message that the user cannot proceed with the order. We'll show this when the user entered an address that is not within CANADA.

    15963090132486043 2 Screenshot 21

    3. Now, let's create the condition that if the user's address isn't located in CANADA, we'll show the MESSAGE, hide the Square field, as well as the SUBMIT button. In that way, he cannot make any submission into the form.

    Here's a condition you can use:

    15963091782486043 3 Screenshot 32

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

    And that's it! I have implemented this on a demo form. Please try this: https://form.jotform.com/201516261835047 



  • carlswineclub
    Replied on August 1, 2020 at 3:26 PM

    Awesome, thank you so much!