---
title: "Formatting input fields"
url: "https://docs.leaddoubler.com/en/article/formatting-input-fields"
language: "en"
last_updated: "2024-08-29T07:51:54.542Z"
---

# Formatting input fields

Formats and adds thousand separator in input fields

Insert the following script in “Insert custom HTML” → “Analytics code”

```plaintext
<script id="formatFields" src="https://leaddoubler.s3.eu-west-1.amazonaws.com/files/formatFields.js" fields="" format=""></script>
```

This will make all your input fields autoformat with thousand separator.

You can enter logic ids for specific fields in the “fields” parameter to only target them. For example:

`fields="amount,downPayment"` (separated by comma). This will only format the fields with the logic ids specified.

You can disable the formatting of the field by writing `false` in the `format` parameter.

The default thousand separator is a dot, If you instead want to use a comma you can add the parameter: `separator` like this:

```plaintext
<script id="formatFields" src="https://leaddoubler.s3.eu-west-1.amazonaws.com/files/formatFields.js" fields="" separator=”,”></script>
```
