Redirect based on radio/select options
<p>Being new to javascript, I'm way in over my head. But I'm trying :P</p>

<p>Basically what I need to do is redirect to a url based on the options selected in the form below. There will be 4 checks in total.</p>

<ul>
<li>If Windows &amp; Advanced are selected, redirect to A</li>
<li>If Windows and Basic are selected, redirect to B</li>
<li>If Mac and Basic are selected, redirect to C</li>
<li>If Linux and Basic are selected, redirect to D</li>
</ul>

<p>However, I'm not quite sure how I would be able to grab the specific names of each radio button and select option, let alone see if they are checked, and make the checks listed above.</p>

<p>If someone could point me in the right direction, it would be much appreciated. Thanks.</p>

<pre><code>     &lt;form action="process_form.php" class="TTWForm" method="post" novalidate=""&gt;
        &lt;div id="field3-container" class="field f_100"&gt;
          &lt;label for="field3"&gt;Your Operating System&lt;/label&gt;
          &lt;select name="field3" id="field3" required="required"&gt;
            &lt;option id="field3-1" value="Windows"&gt; Windows &lt;/option&gt;
            &lt;option id="field3-2" value="Mac"&gt; Mac &lt;/option&gt;
            &lt;option id="field3-3" value="Linux"&gt; Linux &lt;/option&gt;
          &lt;/select&gt;
        &lt;/div&gt;
        &lt;div id="field2-container" class="field f_100 checkbox-group required"&gt;
          &lt;label for="field2-1"&gt;Version&lt;/label&gt;
          &lt;div class="option clearfix"&gt;
            &lt;input type="radio" name="field2[]" id="field2-1" value="Basic"&gt;
            &lt;span class="option-title"&gt; Basic &lt;/span&gt; &lt;br&gt;
          &lt;/div&gt;
          &lt;div class="option clearfix" id="optional"&gt;
            &lt;input type="radio" name="field2[]" id="field2-2" value="Advanced"&gt;
            &lt;span class="option-title"&gt; Advanced &lt;/span&gt; &lt;br&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/form&gt;
</code></pre>
