2

Initially I thought I could use the same field on both entities, but I want the user to be able to select unlimited values from the reference field limited to the options that could exist in the original field.

In the field settings, I need to have the ability to select a field to reference. When looking at the field instance I'd like to be able to tell which field the value should be compared against. The user should be able to select from all of the possible values of field A and store that selection in field B.

Changed this, as it made it sound like I wanted something similar to node reference

Entity 1: Field A

Entity 2: Field B (Values from Entity 1: Field A stored in Field B)

The goal is to be able to use Field B to find entities having Field A that are the same value

Is there any way to achieve this kind of relationship between fields?

1 Answer 1

1

Field reference module may help you !

Defines a field type for referencing one field from another.

This module is modelled on Node reference and usage is similar.

Depending on configuration, authors can pick fields from the same node/entity, from other nodes/entities, from specific revisions, from specific languages, or even a specific delta value within the field. Fields can be displayed using either the 'full' or 'teaser' mode from their original node/entity.

1
  • I looked at field reference but couldn't find a way to get it to allow me to select the values of the field, only the entity that has that value as an option. Is there a way to list the values?
    – Arosboro
    Oct 21, 2012 at 11:10

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.