title: Form values to create own URL with Javascript?
body: <p>I have a form that is a simple dropdown menu that users can select an name and the affiliate code matched to it be used in the url but php changes the periods to underscores, so I was wondering if there was a roundabout way of doing it with javascript? </p>
  
  <pre><code>&lt;form&gt;
  &lt;div&gt;
  &lt;label for="organisation"&gt;Please select:
   &lt;/label&gt;
  &lt;select name="quote/results.php?product=product_here&amp;ac=group&amp;username" method="get"&gt;
  &lt;option value="111111111"&gt;Number One&lt;/option&gt;
  &lt;option value="222222222"&gt;Number Two&lt;/option&gt;
  &lt;option value="333333333"&gt;Number Three&lt;/option&gt;
  &lt;option value="444444444"&gt;Number Four&lt;/option&gt;
   &lt;/select&gt;
   &lt;button&gt;Quote &lt;/button&gt;
   &lt;/form&gt;
  </code></pre>
  
  <p>After the username in the URL, that's where I want the number code to go which I had working in php but the results.php turned into results_php which obviously came back as an error. </p>
  
  <p>Are there any possible ways to go around this?</p>