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

New Contact autocomplete gives form error even if you select a Contact.

    Details

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

      Description

      CRM-5479, fix causes problems if you use tab / keyboard go move through the fields. It looks like the contact_id is not actually set in the "contact" ac_input field unless I use my mouse to click to the Contribution Type field after selecting a contact.

      To recreate:

      • New Contribution (standalone context).
      • Start typing in a last name and use down arrow to select one
      • tab thru to Contribution type and select it by typing 'D' for donation
      • tab to Total amount and type in a value
      • click enter (or press return key)

      You'll get form validation error: "Please select a contact or create new contact"

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified