What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Geographic Restrictions for forms - RESOLVED

    Asked by AA_C on February 11, 2017 at 11:08 AM

    CAN I BLOCK CERTAIN COUNTRIES FROM ACCESSING MY FORMS ?

    I noticed when using Form analytics that some of my forms are getting views from Countries that may have malicious intent and really have no interest or business using these forms.

     

    I would prefer only Canada and USA have access.

    Regards'

    Robert

  • Profile Image
    JotForm Support

    Answered by Mike_G on February 11, 2017 at 02:41 PM

    Unfortunately, we do not have any way of only allowing form access to certain countries.

    I'm thinking of a workaround that "might" meet your requirement, but I need some time to further test it.

    Thank you.

  • Profile Image

    Answered by Robert  on February 12, 2017 at 05:55 PM

    This is Robert from AA_C.

    Can someone please contact me by email about a major problem with my account that has occured since I had the user name hanged. 

    email: rbc@aac.ca

    Regards,

    Robert

  • Profile Image
    JotForm Support

    Answered by Ian on February 12, 2017 at 11:02 PM

    I had moved your concern to a separate thread that can be accessible at https://www.jotform.com/answers/1064292

    Please follow the new thread. You will be updated through the new thread.

  • Profile Image

    Answered by AA_C on February 13, 2017 at 08:49 PM

    OK... Now that's all done lets get back to the original question:

    @Mike_G 

    I was wondering if you have had a chance to look into this any further?

    Best regards,

    Robert

  • Profile Image
    JotForm Support

    Answered by Ian on February 13, 2017 at 10:03 PM

    Thank you for contacting us. Unfortunately, JotForm does not have this feature. You are not able to block certain countries through Jotform. However, I am escalating this request to our developers. If this feature request is applicable, we will be informing you via this thread.

  • Profile Image
    JotForm Support

    Answered by Ian on February 13, 2017 at 10:05 PM

    Thank you for contacting us. Unfortunately, JotForm does not have this feature. You are not able to block certain countries through Jotform. However, I am escalating this request to our developers. If this feature request is applicable, we will be informing you via this thread.

  • Profile Image

    Answered by AA_C on February 15, 2017 at 10:40 AM

    Hi,

    I see a help thread; https://www.jotform.com/help/64-How-to-Set-Unique-Submissions-on-a-Form ,

    I was thinking, is it possible to set up an allowed ip list and a blocked ip list, for this option?

    I also found this ip black list that may be helpful:  https://myip.ms/files/blacklist/general/latest_blacklist.txt

    Thank you,

    Robert

  • Profile Image
    JotForm Support

    Answered by Mike_G on February 15, 2017 at 12:00 PM

    The guide, https://www.jotform.com/help/64-How-to-Set-Unique-Submissions-on-a-Form, discusses how you can prevent multiple submission(s) coming from the same IP Address if you select "Strict Check"

    Also, I would like to apologize for the confusion as I have overlooked your concern. I was thinking of a workaround that can prevent "submission(s)" from countries you don't prefer receiving submissions from but, as I understand now, you are trying to prevent "form views" which, as what my colleague, Ian, have mentioned, we don't have such option yet and he already submitted a feature request on your behalf.

    Thank you.

  • Profile Image

    Answered by AA_C on February 18, 2017 at 10:17 AM

    @Mike,

    You we not confused..

    I was thinking of a workaround that can prevent "submission(s)" from countries you don't prefer receiving submissions from "

    Is exactly what I was looking for. The reason I mentioned the link you show above was, could it be modified to do what I ask?

    Thanks for your help,

    Robert

  • Profile Image
    JotForm Support

    Answered by Chriistian on February 18, 2017 at 10:40 AM

    Hi Robert,

    Thanks for the clarification. I will then relay your message to their developer to let them know of your exact request.

    Regards.

  • Profile Image
    JotForm Support

    Answered by Mike_G on February 22, 2017 at 07:20 AM

    @AA_C

    Below is a sample form where I have applied the workaround that I mentioned above.

    https://form.jotform.com/70522830946962

    The form's submit button will not show unless the one accessing it is from United States or Canada.

    Here's what I did after I have created the form:

    1. Add a Get Visitor Location widget and only check "Country" under Output Details from its wizard.

    2. Hide the Get Visitor Location widget so it will not show on the form.

    3. Add a Textbox field and hide it also from the form.

    4. Create a condition that will pass the value of the Get Visitor Location widget to the Textbox field when the Get Visitor Location widget is filled (which it will be upon form load).

    5. Finally, create a condition saying that, "if the Textbox field contains "United States" or "Canada" show the submit button.

    You can also make all the fields hidden and just show a text saying, "This form is not available in your region".

    I hope this helps. If you have any further questions, please feel free to contact us again anytime.

    Thank you.

  • Profile Image

    Answered by AA_C on February 22, 2017 at 02:15 PM

    @Mike_G

    I cloned the form and I'm at a loss as to how it knows if I'm in Canada or the USA.

    I filled out the form and it did not appear.

    Thank you,

    Regards,

    Robert

  • Profile Image

    Answered by AA_C on February 22, 2017 at 02:47 PM

    @Mile, Hi,

    I'm using a VPN and can select a number of Countries including Canada and USA.

    Right now I'm in the US and when I try the form:

    http://www.aac.ca/location.html

    It will not display the submit, even if I VPN to Canada.

    Thank you,

    Robert

  • Profile Image
    JotForm Support

    Answered by AIDAN on February 22, 2017 at 05:34 PM

    Hi Robert,

    Please note that the Get Visitor Location widget relies on the IP address to get the location, as IP addresses are mapped to locations.

    Considering the fact that this information is dynamic (can change depending on many factors), the accuracy of pinpointing locations with IP addresses is not 100%, and that reflects on the widget as you can imagine.

    I hope this helps. If you need further assistance please let us know. Thank you.

  • Profile Image

    Answered by AA_C on February 22, 2017 at 09:22 PM

    Hi,

    I understand that, countries have certain IP addresses so that they can be recognized and as you say it is not always 100% but it must be close. 

    As I said I used a VPN and set it for Canada and the US. I checked with a web utility to verify my location and it always verified the country I was connected to with the VPN. Yet this widget couldn't verify that???

    Also when I turn it off, my server is in Virginia and the utility shows me there but not this widget.  

    I don't understand that at all.

    Thank you,

    Robert

  • Profile Image
    JotForm Support

    Answered by Mike_G on February 22, 2017 at 11:14 PM

    It's also possible that the condition below is not met that is why the Submit button is not shown.

    One possible cause would be is the value that appears in the Get Visitor Location widget and the textbox field (Current Location) doesn't match the value in the condition rules.

    I suggest you try NOT to hide (Disable Hide Field option) the Get Visitor Location widget and textbox field (Current Location) on the form. Also, disable the Read Only option of the textbox field (Current Location).

    After doing so, load the form and check what appears after "Country:" in the Get Visitor Location widget and what is passed in the textbox field (Current Location). Then, update the condition.

    Actually, you can directly check the value of the widget in the condition above as shown in the condition #1 below.

    However, since we need to test the exact "text/word" of the country and also for testing purposes, I first passed the value to a textbox field (condition #2).

    In the screenshot below, since my current location is not in the United States or Canada, the submit button is hidden.

    However, notice that when I changed the text next to the word "Country:" in the textbox field to either United States or Canada, the submit button already shows.

    I hope the explanation above on how you can test it helps. If you have other questions, please feel free to contact us again anytime.

    Thank you.

  • Profile Image

    Answered by AA_C on February 23, 2017 at 01:14 PM

    Hi,

    If I un-hide the fields it works perfectly. I used the VPN from Canada, USA and Spain.

    Canada and US showed submit, Spain hide submit.

    If I hide "Get Visitor Location" it won't work.

    Why is the hiding it disabling the form?

    Thank you,

    Robert

     

  • Profile Image
    JotForm Support

    Answered by Mike_G on February 23, 2017 at 02:44 PM

    My apologies, after further testings, I found out that it depends on where you set the Get Visitor Location widget hidden.

    If it's through its properties, then it would not work.

    However, if it's through its wizard, it should work. (You may need to remove the label of the widget with this).

    You can, also, try to hide the widget using CSS codes injected in your form. (Please let us know if you need assistance with this and if you do, please provide us the form you're working on)

    Using CSS codes will not require you to hide the widget's label anymore and the space allotted for the widget in your form will also disappear.

    Thank you.

  • Profile Image

    Answered by AA_C on February 23, 2017 at 07:06 PM

    Great!... I will let you know how it goes... Thank you, Robert

  • Profile Image

    Answered by AA_C on February 23, 2017 at 07:37 PM

    It Works! Thank you! Robert