Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
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