Expand my Community achievements bar.

SOLVED

Multiselect drop down list

Avatar

Level 2

Hi,

I have a dropdown with options in the form of: key=value:

1=Option 1

2=Option 2

...

 

When I create a document of record, only the keys are visible, like: 1,2,3...

 

I need to change that so in the DoR only the selected values are visible. Is there an API for that I can use? Or what can I do?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hello @marcink-lwR9iu,


Currently, OOTB we do not have the feature to choose between wanting to display the key or the value option for the dropdown field. However, this feature will be added to the product in the upcoming releases.

In the meantime, if you wish to achieve the same you can use a custom DOR template bonded to the filed and add a custom "if-else" statement to the field to display the specific value based on the selection.

Thanks
Pranay

View solution in original post

3 Replies

Avatar

Employee

Hello @marcink-lwR9iu ,

What's the AEM Forms Version you are using on your Instance ?
Please try this on any version greater than SP18.

Thanks,
Utkarsh

Avatar

Correct answer by
Employee

Hello @marcink-lwR9iu,


Currently, OOTB we do not have the feature to choose between wanting to display the key or the value option for the dropdown field. However, this feature will be added to the product in the upcoming releases.

In the meantime, if you wish to achieve the same you can use a custom DOR template bonded to the filed and add a custom "if-else" statement to the field to display the specific value based on the selection.

Thanks
Pranay