# Variable does not appear in dynamic list

**URL:** <https://community.weweb.io/t/variable-does-not-appear-in-dynamic-list/6471>\
**Category:** How do I?\
**Created:** [January 18, 2024, 7:31pm UTC](https://community.weweb.io/t/variable-does-not-appear-in-dynamic-list/6471 "2024-01-18T19:31:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![edbernal](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/edbernal/32/5598_2.png) [@edbernal](https://community.weweb.io/u/edbernal)\
**Post date:** [January 18, 2024, 7:31pm UTC](https://community.weweb.io/t/variable-does-not-appear-in-dynamic-list/6471/1 "2024-01-18T19:31:57Z")

</div>

I have a dynamic table connected to my database in Xano, when I click on one of the inputs I can add a new value, the idea is to be able to edit the values in the table

 ![Screenshot 2024-01-18 at 16.28.31](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/a6f1a995b4f71a1eaab781b40f60f558b9a5f91e.png)

what happens to me is that I cannot find the variable Amount-1 which is where I am entering the new value, if anyone has an idea of how I can do it, I have thought about creating a new variable but I have managed to get no results yet

 ![Screenshot 2024-01-18 at 16.29.52](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/6fb8e566ee4a351be217338ff6a57fd6f858bc58.png)

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [January 18, 2024, 9:48pm UTC](https://community.weweb.io/t/variable-does-not-appear-in-dynamic-list/6471/2 "2024-01-18T21:48:53Z")

</div>

You need to add a workflow to the input so it saves the inputted data somewhere @dorilama had multiple threads about this 🙂 Basically a repeated input field loses the “state” that is exposed when you place an input in your app once it’s bound to a collection and repeated.

Check this answer

> [@Are form variables not visible while the form is in a collection item?](https://community.weweb.io/t/are-form-variables-not-visible-while-the-form-is-in-a-collection-item/1138/6):
>
> No need to retrieve the input with js. You can keep track of the values using variables and workflows. create a variable of type object on your inputs add a workflow triggered on change where you change the variable Now on submit you can access the values: [chrome\_kiGf8an4uI]
