Score:1

How to make media description show on form view when used as entity reference

pg flag

Drupal 9... I have a content type of "Resource" which uses a field "download" which references the media type "document", but when I upload a file to the field, it gives me no opportunity to enter a description for the newly uploaded file.

Resource content type Field_download (entity reference to Media Type = Document)

Media Type: Document

  • field_description (text -- required)

  • field_media_document (file -- required -- enabled description field)

1 - New Resource content type… upload the media file

enter image description here

2 - the media upload box appears

enter image description here

3 - Selected the file I want to upload - it is here that I want to enter the file's description. The help text even says "Fill in any required fields and save..." but no required field appears.

enter image description here

4 - Insert the media, now that it has been uploaded

enter image description here

5 - The new "Resource" node shows the new file, but still no opportunity to enter description

enter image description here

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.