title: how to export checkbox value to csv file ?
body: <p>here is the <strong>html code</strong> below.
  Need to export the checked value to a csv file separated by comma 
  Can any one help me out with any solutions. 
  `</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;link rel="stylesheet" type="text/css" href="home.css"&gt;
          &lt;title&gt;CSB Export&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div class="page_wrapper"&gt;
              &lt;div class="header"&gt;
                  ABC news
              &lt;/div&gt;
              &lt;div class="form_holder"&gt;
                  &lt;form&gt;
                      &lt;div class="form_container"&gt;
                          Name : &lt;input type="text" placeholder="Enter Your Name"/&gt;&lt;br/&gt;
                          &lt;input type="checkbox" name="newstype" value="1"/&gt;1&lt;br/&gt;
                          &lt;input type="checkbox" name="newstype" value="2"/&gt;2&lt;br/&gt;
                          &lt;input type="checkbox" name="newstype" value="3"/&gt;3&lt;br/&gt;
                          &lt;input type="checkbox" name="newstype" value="4"/&gt;4&lt;br/&gt;
                          &lt;input type="checkbox" name="newstype" value="5"/&gt;5&lt;br/&gt;
  
                          &lt;input type="submit" value="submit"/&gt;
                      &lt;/div&gt;
                  &lt;/form&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>