Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

What is the best way to have multiple on values for a checkbox.

Avatar

Level 1

I have this situation where in I have a data binding from an xml. The xml has an element which is a string and it is bound to a PDF checkbox. However the Checkbox need to be turned on if the xml element has one of 2 values. For all other values it should be turned off.

Below is the xml and the element is GameName

<Game>

      <GameName>Soccer</GameName>

<Game>

if GameName = 'Soccer' or 'FieldHockey' the checkbox should be turned "on", otherwise it should be turned "off"

Appreciate your help in advance.

0 Replies