Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11468 Implement form designer
  3. CRM-11477

Differentiate "UFField.field_type" for "Contact" and "Individual/Organization/Household"

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: CiviCRM Profile
    • Labels:
      None

      Description

      CRM_Profilemockup_Page_ProfileEditor::getModels() returns a list of fields that are available for use in a profile form. Each item includes a "civiFieldType". When creating a UFField, the "civiFieldType" is copied to "UFField.field_type".

      Currently, the values produced by "civiFieldType" are not correct – which will produce incorrect "UFField.field_type" data. Specifically, it associates all fields with "Individual". In reality, some fields (like "first_name" and "last_name") should be "Individual", but others (like "do_not_sms") should be "Contact".

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: