MetadataRadioGroups - adobe-dmeservices/custom-metadata GitHub Wiki
Radio Groups
Radio Group Fields allow users to select one of several predefined values. Radio Groups require an array of options, which you configure in the Options tab.
Options must be defined as an array, each entry containing an object with a label
and a value
. The selected value will be written to XMP. In the example below, if a user chooses option "Two," then "2" will be written to XMP.
[
{
"label": "One",
"value": "1"
},
{
"label": "Two",
"value": "2"
},
{
"label": "Three",
"value": "3"
}
]
Dependencies
You can optionally use Dependencies to set one or more Fields that must have data before a user can enter data in this Field. This Field will be disabled until there is a value present in the Field you specify in Dependencies. Learn more about Dependencies
- To configure, choose one or more Fields from the Dependencies dropdown in the Advanced tab. The dropdown will display all currently defined Fields, so you will need to define Fields before you can use them as Dependencies for other Fields.