# How do I access the value of text and numbers, of each view in a carousel?

**URL:** <https://forum.inductiveautomation.com/t/how-do-i-access-the-value-of-text-and-numbers-of-each-view-in-a-carousel/62866>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 10, 2022, 11:10am UTC](https://forum.inductiveautomation.com/t/how-do-i-access-the-value-of-text-and-numbers-of-each-view-in-a-carousel/62866 "2022-08-10T11:10:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lujan\_Paierpaj](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@Lujan\_Paierpaj](https://forum.inductiveautomation.com/u/Lujan_Paierpaj)\
**Post date:** [August 10, 2022, 11:10am UTC](https://forum.inductiveautomation.com/t/how-do-i-access-the-value-of-text-and-numbers-of-each-view-in-a-carousel/62866/1 "2022-08-10T11:10:47Z")

</div>

I have a carousel with 5 views, each with a numeric/text Entry Fields (10 entries per view). After entering those values ​​I want to save them in the Database.  
My question is how to access the value of each variable in each view…  
Thank you very much for any comment that can guide me to the solution.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [August 10, 2022, 2:39pm UTC](https://forum.inductiveautomation.com/t/how-do-i-access-the-value-of-text-and-numbers-of-each-view-in-a-carousel/62866/2 "2022-08-10T14:39:00Z")

</div>

You’ll need to bi-directionally bind the Numeric Entry Field to a `param` of the View it resides in. That View-level param MUST be configured as in/out. For my example I’ve named that param `nef_in_out` in EVERY View I use in my Carousel.

```auto
# this code is in a Button which is a sibling to the Carousel
list_of_nef_values = []
for view in self.getSibling("Carousel").props.views:
    list_of_nef_values.append(view.viewParams.nef_in_out)

```

If any of your Views are missing that `nef_in_out` key this code will fall apart with an AttributeError (I think that’s the one).

---

<div class="post-metadata">

**Author:** ![Lujan\_Paierpaj](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@Lujan\_Paierpaj](https://forum.inductiveautomation.com/u/Lujan_Paierpaj)\
**Post date:** [August 10, 2022, 7:12pm UTC](https://forum.inductiveautomation.com/t/how-do-i-access-the-value-of-text-and-numbers-of-each-view-in-a-carousel/62866/3 "2022-08-10T19:12:57Z")

</div>

Thanks a lot!!
