Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

How to extract values from a multifield inside custom dialog customization js?

Avatar

Community Advisor

How to extract labels(not the values inside it) from a multifield inside custom dialog customization js?

ManuMathew1994_0-1657266325768.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Manu_Mathew_ ,

try this jquery code on label name you want to catch value of label, I tested & it works on multifield as well

$("input[name='./<yourNameElement>']").parent().find("label").text()

~Aditya.Ch

Thanks,

Aditya Chabuku

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @Manu_Mathew_ ,

try this jquery code on label name you want to catch value of label, I tested & it works on multifield as well

$("input[name='./<yourNameElement>']").parent().find("label").text()

~Aditya.Ch

Thanks,

Aditya Chabuku