Restricting submissions by country

  • Profile Image
    chrislowe
    Asked on December 01, 2014 at 10:10 AM

    I have a form to request print samples. This has been posted on a Russian freebie forum and my submission quota for the month is being used up by these illegitimate requests.

    Is there a way the restrict the form just to users in the UK and Ireland?

  • Profile Image
    Welvin
    Answered on December 01, 2014 at 11:15 AM

    Hi,

    Unfortunately, we don't have a country blocking feature, but a workaround would be to add a conditional logic to your form to only show the submit button when the selected country is equal to UK or Ireland. The following conditional logic for example:

    This should work, please try it and let us know if it fails to stop bogus submissions or not.

    Thanks

  • Profile Image
    chrislowe
    Answered on December 02, 2014 at 04:53 AM

    I have tried this but it is still showing the submit button not matter what conditions I put in there.

  • Profile Image
    Ben
    Answered on December 02, 2014 at 08:37 AM

    Hi,

    There are few reasons for this. The first one was the fact that the country field in the address tool was set to United Kingdom by default. Another thing is that it was also hidden so no one could select the country from the list.

    You also have 1 more extra field that is asking for country and one condition was set for it and another for the hidden field (with default value) mentioned above.

    Now, I have made the country field visible in the address tool and changed the conditions to work based on that country selection. You can see it in action here: http://form.jotformpro.com/form/43353680908965

    If you want to clone it, you should follow these steps: How to Clone an Existing Form from a URL

    If you would like to add the changes to your own jotform, then you should:

    1. enable the country field in the address tool

    Click on Address Tool in the Form Builder. Now check the toolbar - it will show Fields button. Click on it and make sure that the Country is selected and then click on OK.

    2. set the right conditions

    As soon as you click on Save and Finish you will have the submit (Request Samples) button hidden for all countries beside United Kingdom and Ireland.

    Best Regards,
    Ben