What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Restricting submissions by country

    Asked by chrislowe 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?

    Page URL:
    http://www.marqetspace.co.uk/christmas-cards-and-calendars

    restrict country conditions
  • Profile Image
    JotForm Support

    Answered by Welvin 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

    Answered by chrislowe 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

    Answered by Ben 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