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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 2
johnh86027037
Level 2

Likes

2 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
johnh86027037
Level 2

Likes

2 likes

Total Posts

17 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
johnh86027037
Level 2

26-06-2018

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?