Hi,

I am new to drupal and have the following situation.

I have two content types
1) Question
2) Answer (which is a child of Question).

I can create an entity reference in the Question content type that links the question to the answer content type.

When I go to create a new Content of type Question, I can add x number of existing answers.

Is it possible that on the Question content page, i can create and associate answers as well rather than only being able to select existing answers.

Any suggestions will be must appreciated.

thanks
Abhi

Comments

amthekkel’s picture

Found a solution by using the inline entity form module.
https://www.drupal.org/project/inline_entity_form

amthekkel’s picture

Further options worth considering are

1) Field collections
2) Using paragraphs