Formatting input fields

Formats and adds thousand separator in input fields

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

<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:

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