2

Is there any easy way to store a long text description of an uploaded file?

I want to provide a long description field (textarea) when users upload files, so they can write as much as they need. Current title field is limited to 255 chars.

Any ideas on how to do this?

Thanks!


Edit 1

The file_entity module does not support Inline Entity Form unfortunately, so this solution won't work.

Here are the related issues on Drupal.org:
https://www.drupal.org/node/2038053
https://www.drupal.org/node/2327369

1

The Inline Entity Form pushed me in the right direction.

Here's what worked for me:

  1. Install File Entity module. It will allow you to add fields to files, in my case a "Description" textarea field.
  2. Install File Entity Inline module. It will allow you to optionally include some of the fields directly in the file upload widget.
  3. Add a file field and on configuration page under "Inline fields" choose either "All available fields" or "Only selected fields".

That's it - hope this helps someone!

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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