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

State/Country select code cleanup/fixes.

    Details

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

      Description

      Country and State select behavior would be :
      1. Config default country should be available as option in country select, irrespective of country present in Available Countries or not.
      2. Config default country states should be available as options in state select, irrespective of country present in Available States and Provinces or not.
      3. All Available Countries states should be available as options in state select, irrespective of countries present in Available States and Provinces or not.

      Also currently we are registering duplicate state elements in quick form to manipulate available states,
      Ideally we should not add duplicate elements.
      To get required states as options in state select we should manipulate existing quick form element options.

      There are some existing issues like :
      1. http://issues.civicrm.org/jira/browse/CRM-5655
      2. Bug : If we select non-default country and corresponding state on contact ADD/Edit form as state and country for second onward address block,
      state value is not get store in db.

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              kiran.jagtap Kiran Jagtap
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: