title: how to insert single checkbox value in coldfusion code
body: <p>I have a single checkbox, I want that when I check the checkbox it 
          should insert 1 else 0 in the database. How can I do that? This was 
          earlier a radio button field which is getting converted to check box so 
          already entry in the database is working good, I am posting my database 
          code as well.</p>
  
  <pre><code>    &lt;tr&gt;
              &lt;td class="leftFormLabelCell extrasmalltextbold" style="border-
               left:1px solid ##9c9c9c;" width="15%"&gt;
               #mocTrans.Translate("Required template Action Item?")#
              &lt;/td&gt;
  
              &lt;td&gt;
                 &lt;input type="checkbox" name="reqtempactionitem" value="0"&gt;
              &lt;/td&gt;
      &lt;/tr&gt;
      Databse code: 
      &lt;cfif StructKeyExists(URL, "reqtempactionitem") and 
       IsBoolean(URL.reqtempactionitem)&gt;
      , #reqtempactionitem#
      &lt;cfelse&gt;
      , 0
      &lt;/cfif&gt;
  </code></pre>