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

  • Profile Image
    rbmans
    Asked on August 02, 2018 at 05:39 AM
    Just out of curiosity, Is it not possible to choose what countries to be visible from the admin panel somehow?
  • Profile Image
    Victoria_K
    Answered on August 02, 2018 at 06: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.gif

    .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!