Prevent submission if address is outside Canada

  • Profile Image
    Mira Boucher
    Asked on August 01, 2020 at 02:55 PM
    The form should not let anyone order if their shipping address is outside of Canada.
  • Profile Image
    Answered on August 01, 2020 at 03: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.


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

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


    And that's it! I have implemented this on a demo form. Please try this: 

  • Profile Image
    Answered on August 01, 2020 at 03:26 PM

    Awesome, thank you so much!