# Are form variables not visible while the form is in a collection item?

**URL:** <https://community.weweb.io/t/are-form-variables-not-visible-while-the-form-is-in-a-collection-item/1138>\
**Category:** Ask us anything\
**Tags:** collection-page\
**Created:** [September 17, 2022, 10:53am UTC](https://community.weweb.io/t/are-form-variables-not-visible-while-the-form-is-in-a-collection-item/1138 "2022-09-17T10:53:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![stagiaire](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/stagiaire/32/1199_2.png) [@stagiaire](https://community.weweb.io/u/stagiaire)\
**Post date:** [September 19, 2022, 9:28am UTC](https://community.weweb.io/t/are-form-variables-not-visible-while-the-form-is-in-a-collection-item/1138/5 "2022-09-19T09:28:52Z")

</div>

Haha I feel you man, doing the same here 😆  
My input id bind to something like this :

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c4b35680c9c46ee5f536d475ac6710824bafaf12.png)

My checkout button bind quantite parameter to this js :

```auto
return document.getElementById("kit"+context.item.data['id']).value

```

---

_[View the full topic](https://community.weweb.io/t/are-form-variables-not-visible-while-the-form-is-in-a-collection-item/1138)._
