title: Redirect in coldfusion -- Or Mandatory Javascript?
body: <p>Does anyone know how to do a redirect in coldfusion similar to this redirect in javascript? The issue I am having with javascript is that people are just turning javascript off.. Also is it possible to write something to force them to either keep javascript on or make them download it if they do not have it? </p>
  
  <pre><code>&lt;script language="javascript"&gt;
  function SelectRedirect(){
  // ON selection of section this function will work
  //alert( document.getElementById('pcount').value);
  
  switch(document.getElementById('pcount').value)
  {
  case "0":
  alert('Please select number of owners.');
  window.location="";
  break;
  
  case "1":
  window.location="One/ownerInfo1.cfm";
  break;
  
  case "2":
  window.location="Two/ownerInfo2.cfm";
  break;
  
  case "3":
  window.location="Three/ownerInfo3.cfm";
  break;
  
    case "4":
    window.location="Four/ownerInfo4.cfm";
  break;
  
  case "5":
  window.location="Five/ownerInfo5.cfm";
  break;
  
  }// end of switch 
  }
  ////////////////// 
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;h3&gt;How many owners are taking title?&amp;nbsp;
  &lt;SELECT id="pcount" NAME="pcount"&gt;
  &lt;Option value="0"&gt;Select Section&lt;/option&gt;
  &lt;Option value="1"&gt;1&lt;/option&gt;
  &lt;Option value="2"&gt;2&lt;/option&gt;
  &lt;Option value="3"&gt;3&lt;/option&gt;
  &lt;Option value="4"&gt;4&lt;/option&gt;
  &lt;Option value="5"&gt;5&lt;/option&gt;
  &lt;/SELECT&gt;&lt;/h3&gt;
  
  
  &lt;input type="submit" name="Submit" value="Next" onClick="SelectRedirect();"&gt;
  </code></pre>