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?

Can anyone help?