Drupal Content Type Data Become Label for Field on Another Content Type I'm using Drupal 7, and on my Drupal website I've created a content type. This content type has 2 fields: field name, and code. I need to create another content type, and (on this content type) fields based on the data of the "Name" field of the previous content type.

For example:


Content type ABC: content


Name  | Code
AAAAA | A
ABABA | B
ACACA | C

Content type DEF: fields


AAAAA (widget: textfield)
ABABA (widget: textfield)
ACACA (widget: textfield)



How can I achieve this?
A better way is to use Entity reference


  Provides a field type that can reference arbitrary entities: