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

    How can it show the IP address of the user in the form?

    Asked by telecme on December 25, 2014 at 09:05 PM

    Hi, i want to let the menber know i can detect his IP to protect cheating, so the form should show the menbers' IP. I know after his summition i will receive the notificatiom including IP, but i'd like he know as well and previously. How can i do it? pl. kindly tell me.

    protect and receive
  • Profile Image
    JotForm Support

    Answered by ashwin_d on December 25, 2014 at 11:00 PM

    Hello telecme,

    Please be noted that there is no built in widget/feature to know the user's IP address and display it on form. 

    It is easy to know the IP address with JavaScript code but since we cannot add JavaScript code in JotForm, we will have to add 3rd party HTML code to achieve your requirement. If you search google you will find multiple options but let me share two of them with you:

    #1:

    <p style="display: block !important; width: 160px; text-align: center; font-family: sans-serif; font-size: 12px;"><a target="_blank" href="http://addgadgets.com/ipaddress/" rel="nofollow" title="IP Address Lookup"><img src="//widget.addgadgets.com/ipaddress/" alt="IP Address Lookup" width="160" height="102" style="border:0"></a><br><a target="_blank" href="http://addgadgets.com/ipaddress/" rel="nofollow" title="Find IP Address" style="font-family: sans-serif; font-size: 12px">IP Address</a></p>

     

    #2

    <center><a target="_blank" href="http://freebloghitcounter.com/free-ip-checker-on-my-website" rel="nofollow"><img alt="IP Checker" src="//websmultimedia.com/widgets/ipchecker/ip-checker.php?bg=17&c=1" style="margin-bottom:5px;"></a><br><a target="_blank" href="http://freebloghitcounter.com/free-ip-checker-on-my-website" rel="nofollow" style="font-size:10px;">Free IP Checker</a></center>

    You can add the above code in a text field and it will display the IP address. Please check the screenshot below:

     

     

    Please take a look at the following form where I have added both the codes:  http://form.jotformpro.com/form/43583189179974? Feel free to clone this form for a closer look. The following guide should help you in form cloning:  https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    I am also sending a feature request to our back end team to find a possibility of adding a widget to display the IP address. We will get back to you as soon as we have any update from them.

    Thank you!

  • Profile Image

    Answered by telecme on December 29, 2014 at 05:00 AM

    Dear ashwin_d:

    Many thanks! it works  well of the code. Thank you.

  • Profile Image
    JotForm Support

    Answered by ashwin_d on December 29, 2014 at 06:10 AM

    Hello telecme,

    You are welcome.

    I'm very pleased that I was able to help you.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by TitusN on July 07, 2015 at 05:03 AM

    Hello, 

    With the Get Visitor Location widget, you can get a lot more detail about the user - including geographic details about the IP Address - 

     

    http://widgets.jotform.com/widget/get_visitor_location

     

    Let us know. 

    Thanks!