I want to filter the option list of the "country" field on the address tab.. I found out that the country field is getting the list of country field in "civicrm_country" table and I want to add a new column "is_active" on the table for the filtering but I can't find the function that generates the list.. does someone know where I can find the function generating the option list so I can add the filter? thanks a lot

1 Answer 1


Welcome to CiviCRM SE, Could you please tell why you want to add 'is_active' field to country table? Can't you just disable the countries from appearing in drop down(or include only countries that you need in your system) from CiviCRM >> Administer >> Localization >> Languages, Currency, Locations?

  • oh... didn't know that there was such an option there, thanks a lot Oct 6, 2020 at 3:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.