I need to set up a Webform CiviCRM in Drupal with a component that can have multiple values (checkbox). But I need to establish its value based on the value of another field.
How can I set multiple values for the Checkbox component using conditionals?
Also, as the value of this multiple Checkbox depends on the value of another field, I need to keep the former value, and add a new one without removing the previous one.
I have included a screenshot of the conditionals.
With these conditions, they can only have a unique value and if the user selects more than one option on the field "Support you are looking for" the previous value of "Group(s)" is removed, so the last condition which is met is the one that establishes the value of "Group(s)".
Any help would very much appreciated.