I have a multi value text field (unlimited cardinality).

This is the current output:

<meta name="dcterms.creator" content="Doe, John, Doe, Jane, Smith, Shiela" />

I want this output:

<meta name="dcterms.creator" content="Doe, John" />
<meta name="dcterms.creator" content="Doe, Jane" />
<meta name="dcterms.creator" content="Smith, Sheila" />

Is there any possible way to do this?

Comments

cudevdev’s picture

Issue summary: View changes
DamienMcKenna’s picture

The dcterms.creator tag isn't currently set up to allow multiple values, but if it were currently it would result in six tags based upon your example. Hrm. This is tricky.

Are your values coming from a field?

cudevdev’s picture

Yes, a text field, configured to have unlimited values. In this example, there are three values: "Doe, John", "Doe, Jane", and "Smith, Sheila"

In a Krumo devel debug, it would look something like:

dc_creator (Array, 1 element)
  und (Array, 3 elements)
    0 (Array, 3 elements)
      value (String) Doe, John
    1 (Array, 3 elements)
      value (String) Doe, Jane
    2 (Array, 3 elements)
      value (String) Smith, Sheila
DamienMcKenna’s picture

Version: 7.x-1.7 » 7.x-1.x-dev