Country Picker widget: is it possible to choose what countries to be visible?

  • rbmans
    Asked on August 2, 2018 at 5:39 AM
    Just out of curiosity, Is it not possible to choose what countries to be visible from the admin panel somehow?
  • Victoria_K
    Replied on August 2, 2018 at 6:18 AM

    Hello,

    Country Picker widget lists all countries and currently there is no direct option to hide some of them. But, you could add custom css code to achieve this: https://form.jotform.com/82132348116955 

    1533204972screencast55 Screenshot 10

    .bfh-selectbox .bfh-selectbox-options ul li>a {

    display: none;

    }

    [data-option="AF"], [data-option="AL"], [data-option="DZ"] {

    display: block !important;

    }

    Related guide: How-to-Inject-CSS-Codes-to-Widgets

    Alternatively, you can use a regular dropdown field to list the countries.

    Hope this helps!