I have a custom field in Civi that is a numeric select field. The select field values are numeric but the associated labels are text. I have created a Drupal view that displays the select field but it only displays the numeric values. Is it possible to get the view to display the select field labels instead? In the view field formatter options it has "Default" and "Unformatted", but both show the numeric value.

I am using Civi 5.41.2 with Drupal 8.9.19.

  • hmm. feel we have hit this and fixed it though might have been on D9. will see if i can find that discussion
    – petednz - fuzion
    Oct 13, 2021 at 19:20
  • Thanks! Any help much appreciated!
    – Ben
    Oct 15, 2021 at 8:16
  • sorry - had a quick search in our ticket system but not an easy search to filter on.
    – petednz - fuzion
    Oct 17, 2021 at 21:33
  • Are you using Dataprocessor extension? It has an "Option label" field type.
    – nielo
    Oct 20, 2021 at 7:42
  • No, I am not using the Dataprocessor extension. Does that integrate with views in Drupal?
    – Ben
    Oct 21, 2021 at 8:01


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.