# Fixed value in fori loop instead of default

**URL:** <https://community.silverfin.com/t/fixed-value-in-fori-loop-instead-of-default/2094>\
**Category:** Templates\
**Created:** [May 12, 2021, 8:26am UTC](https://community.silverfin.com/t/fixed-value-in-fori-loop-instead-of-default/2094 "2021-05-12T08:26:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahaegglund](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@ahaegglund](https://community.silverfin.com/u/ahaegglund)\
**Post date:** [May 12, 2021, 8:26am UTC](https://community.silverfin.com/t/fixed-value-in-fori-loop-instead-of-default/2094/1 "2021-05-12T08:26:42Z")

</div>

Hi,  
We have a fori loop, where we on the first loop want a default value to be used, and then we want an empty section to complete to show. But unless we go to the default value and press enter, the empty section does not show. Ie we need to press enter to get the default value to became a value. Is there another way to get our default value to directly become a value, without having to use enter?

…  
{% if open\_disclosure\_exist == true and forloop.first%}  
| {% input appendix\_text.text\_input as:text placeholder:consideration\_placeholder default:open\_disclosure\_default\_text assign:appendix\_text\_input %}  
{% else %}  
| {% input appendix\_text.text\_input as:text placeholder:consideration\_placeholder assign:appendix\_text\_input %} (THIS DOES NOT HAPPEN, UNLESS WE PRESS ENTER, BUT WE WANT IT TO SHOW ANYWAY)  
{% endif %}  
…

Any ideas?

---

<div class="post-metadata">

**Author:** ![Melle](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/melle/32/1312_2.png) [@Melle](https://community.silverfin.com/u/Melle)\
**Post date:** [May 12, 2021, 12:02pm UTC](https://community.silverfin.com/t/fixed-value-in-fori-loop-instead-of-default/2094/2 "2021-05-12T12:02:43Z")

</div>

@ahaegglund

What is it you would like to achieve? It appears as if you could better apply a separate textfield first (shown conditionally, with the default text in it), and only after that a fori loop. The fori loop requires manual input for each new item you add, that is what it is intended for.

Does this help? Otherwise, please provide us with some more example code than maybe we can prepare a ready-to-use example for you.
