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

Implement a Profile element which combines Country and State / Province and limits state / province based on selected country

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: 4.3.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      1. Rewrite our existing dojo-based Country -> State/Province select field pair to use the dojo-based hierarchical select widget developed for 2.1

      2. Implement a new "pseudo-field" that can be added to Profile forms which implements this field pair. This field pair should ignore the "Available State / Provinces" configuration setting as this will be determined by "Available Countries" config + user-selected country.

      3. Implement this "field pair widget" in any hard-coded address input forms:

      • Billing Address in online contrib and event reg pages (for PP Pro, Auth Net...)
      • ? others

      NOTE: We probably should retain the "Available State / Province" configuration setting (under Global Settings >> Localisation). This would only be used if for the standalone "State / Province" field in a Profile - the use case being for sites that only operate in a given country and don't want to expose "Country" field to the end-user. We definitely still need "Available Countries".

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: