Restricting submissions by country

  • chrislowe
    Asked on December 1, 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?

  • Welvin Support Team Lead
    Replied on December 1, 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:

    Restricting submissions by country Image 1 Screenshot 20

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

    Thanks

  • chrislowe
    Replied on December 2, 2014 at 4:53 AM

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

  • Ben
    Replied on December 2, 2014 at 8: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.

    Restricting submissions by country Image 1 Screenshot 40

    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.

    Restricting submissions by country Image 2 Screenshot 51

    2. set the right conditions

    Restricting submissions by country Image 3 Screenshot 62

    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