Expand my Community achievements bar.

SOLVED

hiding the fields in multifield based on dropdown selection

Avatar

Community Advisor

1. Create a multifield dialog in touch ui. Based on selection of the dropdown either to show or hide the textfields below it. After re-opening the dialog, the field should either hide or show based on the selected value.

2. Create a multifield dialog in touch ui. Based on selection of the dropdown, repopulate the dropdown of the below field. After re-opening the dialog, the field should repopulate according the saved selected value.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

I Recently checked and worked with the below article. it will help you.

http://adobeaemclub.com/toggle-fields-based-on-selection-in-granite-ui-dialogs/

https://helpx.adobe.com/experience-manager/using/dynamic_touchui.html

In this article, you will have two field in drop down:

1) Background Image

2) Background Color

Once you will select a Background Image you will have a field enable for browsing the image.and if you will select a Background color, you can specify the color value.

however you will have to use logic to show in front end.

~ Prince Shivhare

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

I Recently checked and worked with the below article. it will help you.

http://adobeaemclub.com/toggle-fields-based-on-selection-in-granite-ui-dialogs/

https://helpx.adobe.com/experience-manager/using/dynamic_touchui.html

In this article, you will have two field in drop down:

1) Background Image

2) Background Color

Once you will select a Background Image you will have a field enable for browsing the image.and if you will select a Background color, you can specify the color value.

however you will have to use logic to show in front end.

~ Prince Shivhare