Assign metadata fields based on the value of another metadata field

What I’m trying to do

I want to assign a metadata field (mdf) or multiple mdf’s based on the current document having an mdf with a specific value. For example if mdf1 =Project, then I want to assign mdf’s for Action, Importance etc. Or assign a metadata class that contains the selected fields.

Things I have tried

I assume that the way to tackle this is to create a field in the metadata menu plugin where the result is based on a formula.
So I assume the form would take something like
If current contains “mdf=project” then add mdf2, mdf3, mdf4 etc., ELSE “No Action”

But I have no skills in javascript and so I don’t know the correct syntax.

This may be a request too far but any advice would be appreciated.

Thanks

1 Like