1

This code works as expected...

{% if submission.symptomCheckerSymptoms == "Itching" %}
    it works
{% endif %}

... but when when multiple options are selected, it doesn't.

The field is a checkbox group. What am I doing wrong?

1 Answer 1

1

The solution is:

{% if "itching" in submission.symptomCheckerSymptoms.value %}
{% endif %}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.