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

Unable to make donation from country which does not have state/province information

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.2
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      To reproducte:

      • In localisation settings, add all countries, and all states.
      • Go to a contribution page
      • Select Bermuda as the country
      • The state field is not populated for that country.
      • Try and submit the form
      • Validation error, because state/province is a required field.

      So, either ALL countries must have complete state/province information (pretty much impossible).

      Or, the state/province field should only be required for countries that have state/province information. This could be in the validation process process, and with a little javascript to remove the red asterix for completenes.

      Or, if the dropdown can't be populated, a textfield should be shown instead.

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              mrfelton Tom Kirkpatrick
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: