Can I ban or create conditions based on IP address?

  • Profile Image
    Fun4you
    Asked on May 15, 2013 at 08:37 PM

    I want to block a user who has been abusing my form. Is there a way for me to do this based on their IP address, or some other way?

     

    Thank you!

  • Profile Image
    gori-mathew
    Answered on May 16, 2013 at 03:28 AM

    Hi,

    Unfortunately no, it is not possible to block on email address on the form. What you can do i to setup a filter on your email software. So, if the sender is that person the email would be sent to trash automatically.

    You can also add a captcha. That might possibly slow down submissions. (Captcha is available under Power Tools.)

    You can also enable unique submissions from Preferences. So, a user can only make a single entry.

    I hope this helps.

  • Profile Image
    Fun4you
    Answered on May 16, 2013 at 08:12 PM

    Thanks for responding, but I'm lookingfor IP blocking, not e-mail. an E-mail actually can be blocked, by creating a hide rule. Just set it to if (e-mail) is (address) then hide: Submit button. It's pretty hard to submit it when there is not button.

    However, this is not what I want. I want an IP blocker or rule option. Thank you anyway.

    Does anyone else know of a way?

  • Profile Image
    jonathan
    Answered on May 16, 2013 at 10:08 PM

    Hi,

    You can actually capture the IP address of the user who submitted the form. You can find this IP field in the notification email template

     

    BUT the banning or blocking of IP address is not doable in the form builder. You cannot create condition logic for this since IP addresses are only checked/recorded after submission process. 

    The easier way to do it is on your web server. You can blacklist IPs that goes to your website/domain where the form is embedded.

    --

    In theory only, I think you can achieve also if you will use 2 forms and use the Send Post Data feature of the form. Something similar to what was done here https://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

    In the 1st form, you can capture the IP address. So, on the 2nd form (as if it is the main form), you can pre-populate a hidden field using pre-populate URL parameter. Once the user opens the 2nd form, the IP address is recorded already. Then, use the condition logic to hide the submit button base on the value of the hidden field (the IP address form URL param)

    I know its kind of confusing. =) I'll try to create a test form base on this theory. I'll update you if it works.

    Hope this help. Inform us if you have further inquiry.

    Thanks.

     

  • Profile Image
    jeanettebmz
    Answered on July 03, 2013 at 10:00 PM

    We are very proud to announce that our team of developers have released Jotform Webhooks,  this feature would replace Send Post Data + Custom URL Thank You Page workaround in order to help you transfer forms data to your own database using your own script codes

    Please find out more about it here

    Cheers!