Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10830

Facility to limit country and state dropdowns per instance

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      The current Country / State dynamic dropdowns are great, and you have the option to limit the countries and states that appear in the global config. However, it would be far better if this could be done for each instance of the dropdowns as well.

      My use case example:
      We use a CiviProfile on the Drupal registration form to sign up new users as Contacts, however, we only want to accept new registration from either Ireland or the UK (actually, only a subset of the UK - Northern Ireland, but I'll leave that for another ticket). However, we are also using CiviContributions to take donations and want to be able to accept donations from any EU country. Currently, the only way to do this is to include all the EU countries in the global config, and then hack the select on the registration form in hook_civicrm_buildForm to alter the Country select, but it would surely be better if you could do this natively.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mrfelton Tom Kirkpatrick
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: