Form: How to restrict other countries from accessing the form?

  • SYLvia889
    Asked on May 8, 2024 at 6:01 PM

    Hello !

    Is there a way that you can restrict people to continue answering if they doesnt meet a criteria?

    For example we dont want people outside Canada to fill out the form

  • Joshua_T JotForm Support
    Replied on May 8, 2024 at 9:07 PM

    Hi SYLvia889,

    Thanks for reaching out to Jotform Support. Yes, it is possible to restrict people from filling out your form if they are located in a different country. Let me show you how:

    1. In Form Builder, add a Get Visitor Location Widget and a Paragraph element that will display your restriction message, and set it to Hide.
    2. In the Details section in the right corner of the page, tick the boxes for the information that you want the system to collect from the user. Form: How to restrict other countries from accessing the form? Image 1 Screenshot 40
    3. Finally, create a Show/Hide condition that is similar to this:Form: How to restrict other countries from accessing the form? Image 2 Screenshot 51

    In the condition above, if the Get Visitor Location Widget contains any word "Canada", it will hide all the fields, and only show the Paragraph element where you entered your restriction message. This is how it would look like if someone from Canada access your form:

    Form: How to restrict other countries from accessing the form? Image 3 Screenshot 62

    Give it a try and let us know how it goes.

 
Your Answer