# How to delete a default value

**URL:** <https://community.silverfin.com/t/how-to-delete-a-default-value/2466>\
**Category:** Templates\
**Tags:** attribute\_default\
**Created:** [November 8, 2023, 3:29pm UTC](https://community.silverfin.com/t/how-to-delete-a-default-value/2466 "2023-11-08T15:29:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnF](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@JohnF](https://community.silverfin.com/u/JohnF)\
**Post date:** [November 8, 2023, 3:29pm UTC](https://community.silverfin.com/t/how-to-delete-a-default-value/2466/1 "2023-11-08T15:29:16Z")

</div>

Hello,

We have created a template where the company address is automatically pulled through, but if required it can be manually altered.  
Is there a way to delete one of the default lines if required because at the moment if you delete a line or try to type a space, the original default value is restored.

Code as follows -  
|**{% input custom.company.city1 default:company\_registered\_address\_array[1] %}**{% newline %} |**{% input custom.company.city2 default:company\_registered\_address\_array[2] %}**{% newline %} |**{% input custom.company.city3 default:company\_registered\_address\_array[3] %}**{% newline %}|**{% input custom.company.city4 default:company\_registered\_address\_array[4] %}**{% newline %} |**{% input custom.company.city5 default:company\_registered\_address\_array[5] %}**

Regards

John F.

---

<div class="post-metadata">

**Author:** ![Michiel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/michiel/32/2364_2.png) [@Michiel](https://community.silverfin.com/u/Michiel)\
**Post date:** [November 8, 2023, 5:31pm UTC](https://community.silverfin.com/t/how-to-delete-a-default-value/2466/2 "2023-11-08T17:31:48Z")

</div>

Hi @JohnF ,

Defaultss will always appear whenever you make the input field empty (a space is also seen as empty in this case).

One way to overcome this obstacle could be to make 1 input field with all parts of the address as a default.

Hope this helps,

Michiel
