Ext. filemetadata: missing workflow for field status
Is there a documentation for using the status field?
How to use this?
See attached screen.
Another question concerning filemetadata:
If i need a special field in filemetadata mandatory, how to realize this?
If i define this in tca like:
$GLOBALS['TCA']['sys_file_metadata']['columns']['copyright']['config']['eval'] = 'required';
the user can upload a file and reference it without filling out the mandatory field.
Only if he opens or edits file meta data, the mandatory validation or message works.
#1 Updated by Frans Saris 12 months ago
The status field is only a meta field that you can give your own meaning. It doesn't has any workflow or whatever connected.
It's (currently) not possible to set a field required before a file can be used. You can only set the require for the fields when the form is opened like you mentioned.
But this would be a great feature to have. Having the file picker only show files where all required metadata is filled. And some mark in the file list to easily find the files that have some metadata missing.