I've been trying to implement a checkbox field but keep receiving an error. I can select either choice. I can select nothing. But if I select both choices, I get the following error:
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!checkboxField [line 638]: A checkbox component [label=""] has an invalid value for "value". All selected values must be present in the choiceValues array, but value was Fatality; Serious Injury and choiceValues was Fatality; Serious Injury.
For reference, this is the code I am using:
What am I doing wrong?
Discussion posts and replies are publicly visible
Marco Tacca
It seems that your record text type does not support multiple selections when using checkbox. To store multiple selected values, consider using a local variable, a rule with the 'AnyType' data type, or a map function