Known Participant
March 14, 2023
Question
How to use JS to display layers (OCGs) depending on field values
- March 14, 2023
- 1 reply
- 707 views
Please, how can I use JS to display layers (OCGs) depending on field values. I have two checkboxes for language (CZ and EN) and two for study type (GM and DY).
If I check EN and GM, the layers GM-EN + form + EN will be displayed.
If I check EN and DY, the layers DY-EN + form + EN will be displayed.
If CZ and GM are checked, the layers GM-CZ + form + CZ will be displayed.
If CZ and DY are checked, the layers DY-CZ + form + CZ will be displayed.
Attached is an example of such a form.