title: Conditional logic form
body: <p>I'm trying to program a form with some conditional logic. I will give you guys an example what i want to do.</p>
  
  <p>Question 1: Do you have your warranty form?</p>
  
  <ul>
  <li>Yes</li>
  <li>No</li>
  </ul>
  
  <p>If the visitor pressed yes I want to show the following:</p>
  
  <p>Question 2: Purchase date?</p>
  
  <ul>
  <li>Write here ur text.</li>
  </ul>
  
  <p>I got the following code already:</p>
  
  <p>Code question 1</p>
  
  <pre><code>        &lt;div class="form-section-content2"&gt;
      &lt;div class="first-label-column-1-grey"&gt;
          &lt;div class="form-content"&gt;
              Garantie bewijs meegeleverd *
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="first-label-column-2-grey"&gt;
          &lt;div class="form-content"&gt;
              &lt;input class="form-field" type="radio" name="garantie" value="ja"&gt; Ja&lt;/br&gt;
              &lt;input class="form-field" type="radio" name="garantie" value="nee"&gt; Nee
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Code question 2</p>
  
  <pre><code>  &lt;div class="form-section-content1"&gt;
      &lt;div class="first-label-column-1-white"&gt;
          &lt;div class="form-content"&gt;
              Aanschafdatum *
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="first-label-column-2-white"&gt;
          &lt;div class="form-content"&gt;
              &lt;input class="form-field-text" type="text" name="aanschafdatum"&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I tryed something with php and javascript but can't get it done. If you guys could help me would be great.</p>