Using Drupal 7, using entity and entity reference i have created 2 entities: --*Aircraft reservation (date, user, aircraft categorie) *Aircraft categories (name)
I have created a view (entity reference view) to list all aircraft categories.
Aircraft reservation reference aircraft categories. In the form subbmission of Aircraft reservation i can see the list of the categories. The reference link with the view work great.
But when i submit the form, instead of having the categorie of the aircraft which i has selected saved, i have the details of the entity that present the categorie which i had selected.
With other words, Instead of saving the value of the field name of the categorie, drupal save the details of the entity.
How can i fix that ? Thanks for all !