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

  • Profile Image
    Asked 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.

  • Profile Image
    Answered 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:


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



    <center><a target="_blank" href="" rel="nofollow noopener"><img alt="IP Checker" src="//" style="margin-bottom:5px;"></a><br><a target="_blank" href="" rel="nofollow noopener" 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: Feel free to clone this form for a closer look. The following guide should help you in form cloning: 

    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 on December 29, 2014 at 05:00 AM

    Dear ashwin_d:

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

  • Profile Image
    Answered 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
    Answered on July 07, 2015 at 05:03 AM


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



    Let us know.