# \[Javascript\] How to remove commas from form fields

**URL:** <https://forum.kirupa.com/t/javascript-how-to-remove-commas-from-form-fields/229889>\
**Category:** web dev\
**Created:** [June 21, 2007, 1:17am UTC](https://forum.kirupa.com/t/javascript-how-to-remove-commas-from-form-fields/229889 "2007-06-21T01:17:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RussianBeer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/russianbeer/32/152_2.png) [@RussianBeer](https://forum.kirupa.com/u/RussianBeer)\
**Post date:** [June 21, 2007, 1:17am UTC](https://forum.kirupa.com/t/javascript-how-to-remove-commas-from-form-fields/229889/1 "2007-06-21T01:17:53Z")

</div>

Hi, I have some code that takes data from Access database and through JS generates a CSV file.

the code (in a nutshell) is as follows

```auto
rowEntry += rsStudents.Fields.Item("street").Value + ",";

```

So I need the “street” field, to be comma-free. How can I do so?
