title: ColdFusion Form Array with comma in variable
body: <p>Currently, there are checkboxes within a form, and the value of the selected checkboxes are stored in a DB when the form is submitted. </p>
  
  <pre><code>&lt;td&gt;&lt;input type="Checkbox" name="valueList" value="Some value, with comma"   &gt;Some value, with comma&lt;/td&gt; 
  &lt;td&gt;&lt;input type="Checkbox" name="valueList" value="Another Value, with comma"   &gt;Another value, with comma&lt;/td&gt; 
  &lt;td&gt;&lt;input type="Checkbox" name="valueList" value="Yet another value"   &gt;Yet another value&lt;/td&gt;
  </code></pre>
  
  <p>However, the issue is with the commas as the current logic uses a list to store these values. So <code>Some value, with comma</code> is inserted as <code>Some value</code> and <code>with comma</code>. The current list is created with the following:</p>
  
  <pre><code>&lt;cfif isDefined("valueList")&gt;
  &lt;cfset a=listlen(valueList)&gt;
  </code></pre>
  
  <p>And the code continues by looping through the list. This is the only reference to <code>valueList</code> I could find in the code. Is there a way to convert this to an Array without the commas becoming an issue?</p>