Can I show the user's IP Address on the form itself?

  • Profile Image
    Mavent
    Asked on January 03, 2011 at 12:59 PM

    I know I can show it in the eMail Notification, but can I show it in the form?  Something like:

    Your Name:

    Your Address:

    Your IP Address:

  • Profile Image
    seyhuns
    Answered on January 04, 2011 at 08:47 AM

    Hello,

    You will need to populate your fields into the URL dynamically and use a server side script to get the ip of the user. For example if you use PHP you can use this:
    <?=$_SERVER['REMOTE_ADDR']?>

    target="_blank" href="http://www.jotform.com/form/123456789?name=xxxxx&address=xxxx&ip=<?=$_SERVER['REMOTE_ADDR']>"

    Or you can embed this image to your JotForm, it will show the ip address of the user: http://www.allscoop.com/image.php

  • Profile Image
    Mavent
    Answered on January 04, 2011 at 09:47 AM

    Thanks man, I appreciate it.