Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adaptive Forms - Checkbox: How do I reference the label of a checkbox?

Avatar

Level 2

I am creating an adaptive form that could potentially have over 1800 different panels.  Most of these panels are similar - so I would prefer to create a parent, then add an instance of that parent, based on the checkbox selected.

Instead of writing code for over 75 industries (if this.value = "0" || or "1" || or, etc), I want to use the checkbox label.

Object name - gets me the checkbox object name, but NOT the individual checkbox label value.

For example:  I want to use "Auto Body" and "Auto Service".  How can I reference these labels in AEM?

1516513_pastedImage_1.png

Can anyone help?

0 Replies