Answers.Body: <p>The solution is:</p>
  
  <pre><code>{% if "itching" in submission.symptomCheckerSymptoms.value %}
  {% endif %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-09T16:53:51.347Z
Answers.LastActivityDate: 2017-11-09T16:53:51.347Z
Answers.UserDisplayName: Mark H.
Body: <p>This code works as expected...</p>
  
  <pre><code>{% if submission.symptomCheckerSymptoms == "Itching" %}
      it works
  {% endif %}
  </code></pre>
  
  <p>... but when when multiple options are selected, it doesn't.</p>
  
  <p>The field is a checkbox group. What am I doing wrong?</p>
  
Tags: <plugin-freeform><checkboxes>
Title: Freeform conditionals
ThreadText: # Freeform conditionals
  
  (Asked by: username_0 on 2017-11-08)
  
  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?
  
  **Tags:** plugin-freeform, checkboxes
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-11-09. Score: 1
  
  The solution is:
  
  ```
  {% if "itching" in submission.symptomCheckerSymptoms.value %}
  {% endif %}
  
  ```
  
  
  ---
  
  