# Referencing non-loaded collection in "IF" breaks data loading

**URL:** <https://community.weweb.io/t/referencing-non-loaded-collection-in-if-breaks-data-loading/3717>\
**Category:** Ask us anything\
**Tags:** binding, xano\
**Created:** [July 30, 2023, 4:32pm UTC](https://community.weweb.io/t/referencing-non-loaded-collection-in-if-breaks-data-loading/3717 "2023-07-30T16:32:52Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [July 30, 2023, 8:48pm UTC](https://community.weweb.io/t/referencing-non-loaded-collection-in-if-breaks-data-loading/3717/6 "2023-07-30T20:48:50Z")

</div>

there is an example [here](https://community.weweb.io/t/if-condition-fails/1753/5)  
If you click on variables/collections the right code gets inserted in the same way you do it with the nocode formulas. You can even use other nocode formulas.

---

_[View the full topic](https://community.weweb.io/t/referencing-non-loaded-collection-in-if-breaks-data-loading/3717)._
