# How to use (space) delimiters in an input-field for numbers in text-field

> Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add…

Source: https://tadabase.com/docs/snippets/how-to-use-space-delimiters-in-an-input-field-for-numbers-in-text-field  
Status: Not yet re-checked. Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

> **Warning:** Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add this functionality is through the plugin installation wizard. Learn more about plugins [here](https://tadabase.com/docs).

![Screenshot for “How to use (space) delimiters in an input-field for numbers in text-field”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/image-1663654693183.png)

This solution is to set a text field with a predefined space between numbers.

**Step 1**

**Add the following script to the footer of your app.**

![Screenshot for “How to use (space) delimiters in an input-field for numbers in text-field”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/XgA2022-09-20_01-35-38.png)

**Step 2**

**Add the following code to the JavaScript tab of your page.**

```
TB.render('component_3', function(data) {
    $('#fieldmloNLGrM8p').inputmask('9 999 999');
});
```

![Screenshot for “How to use (space) delimiters in an input-field for numbers in text-field”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/2022-09-20_01-55-56.png)

> **Note:** Remember to edit the code to your field and component ids. These can be found in the images below.

![Screenshot for “How to use (space) delimiters in an input-field for numbers in text-field”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/2022-09-20_01-51-14.png)

![Screenshot for “How to use (space) delimiters in an input-field for numbers in text-field”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/2022-09-20_01-59-17.png)

**Original Community Post:**

[How to use (space) delimiters in an input-field for numbers - Community Discussions / How Do I - Tadabase Community](https://community.tadabase.io/t/how-to-use-space-delimiters-in-an-input-field-for-numbers/1964)
