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

Add County to existing state-country Ajax widget

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 4.1.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      As confirmed on the demo, the county field only ever shows these options:
      <option value="">- select -</option>
      <option value="1">Alameda</option>
      <option value="2">Contra Costa</option>
      <option value="3">Marin</option>
      <option value="4">San Francisco</option>
      <option value="5">San Mateo</option>
      <option value="6">Santa Clara</option>

      Nor is it Ajaxy like country and state. I assume that it should work like this

      1) user selects country
      2) ajax happens to populate state field
      3) User selects state
      4) ajax happens to populate county field
      5) User selects county

        Attachments

        1. county_select_3_3_1.patch
          18 kB
          Matt Neimeyer
        2. county_select.patch
          17 kB
          Andrew Brookins
        3. insert_counties.sql
          511 kB
          Andrew Brookins
        4. insert_counties.v2.sql
          511 kB
          Jon K Goldberg

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dalin dave hansen-lange
            • Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: