Is it possible to have an IP white list to open the form?

  • ahleeroff
    Asked on April 19, 2016 at 4:41 AM

    Hi

    I noticed that jotform records IP addresses of submitted forms.

    I was wondering if I can limit people who can access my form by only showing the form to those who are using a certain IP range (only my office's internet connection)

    or in the worst case, having a button for that, to check the IP and then have a condition to show the rest of the form or sth like that.

    Thanks

    BR

  • Boris
    Replied on April 19, 2016 at 5:55 AM

    We do not have a built-in form limit based on white-listed IP addresses, but you can achieve that effect by using our Get Visitor Location widget, along with some conditional logic to show the form fields if the IP matches one of your predefined ones.

    1. The first thing we need to do, is to add the Get Visitor Location widget to your form:

    https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form

    2. Then, we need to configure the widget to only output the IP address:

    Is it possible to have an IP white list to open the form? Image 1 Screenshot 30

    3. Finally, we need to use the show/hide conditions to display your form if the IP matches your predetermined string. For example, we could set up a rule such as this:

    Is it possible to have an IP white list to open the form? Image 2 Screenshot 41

    The above condition would display form fields if user's IP is something like 123.456.12.123, but would hide form fields if IP was 222.333.12.123.

    The above recommended setup would help you achieve the IP-based white-listing or black-listing you were looking for. However, if you are also using other show/hide conditions on your form, there may be some conflicts between different show/hide rules trying to show or hide form fields at the same time. In order to overcome this, you can also try "nesting" all your form fields inside a Form Collapse tool, and point the show/hide condition from step 3 to show or hide the Form Collapse tool rather than individual fields.

    As always, if you run into any issues or snags while setting it up, or if you need any clarifications, please let us know and we will be happy to help.