# Display relationship field value in item details?

**URL:** <https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124>\
**Category:** Get Help\
**Created:** [September 18, 2020, 2:10am UTC](https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124 "2020-09-18T02:10:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![HalAtkins](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@HalAtkins](https://forum.adalo.com/u/HalAtkins)\
**Post date:** [September 18, 2020, 2:10am UTC](https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124/1 "2020-09-18T02:10:51Z")

</div>

I’m making a screen that displays the details of a selected field - is there a way to display the value of a relationship field?

---

<div class="post-metadata">

**Author:** ![vancewong](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vancewong](https://forum.adalo.com/u/vancewong)\
**Post date:** [September 18, 2020, 2:31pm UTC](https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124/2 "2020-09-18T14:31:23Z")

</div>

Yes, you can. But if you’re facing any problems, you might want to check if the screen that you want to display the relationship data on has the “Current” data

---

<div class="post-metadata">

**Author:** ![HalAtkins](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@HalAtkins](https://forum.adalo.com/u/HalAtkins)\
**Post date:** [September 18, 2020, 3:30pm UTC](https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124/3 "2020-09-18T15:30:56Z")

</div>

Hey Vance -

Thanks for helping out. Still not sure where I’m messing up. When I try to add the data from the relationship field, it shows up as item at the bottom of the menu - but following it, I don’t see where I can add the value of the field (the menu keeps repeating itself).

 ![Screen Shot 2020-09-18 at 11.27.38 AM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/4/48d9ac4648a7a91f257d28bdc681145b8db350f2.png)

---

<div class="post-metadata">

**Author:** ![vancewong](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vancewong](https://forum.adalo.com/u/vancewong)\
**Post date:** [September 18, 2020, 3:36pm UTC](https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124/4 "2020-09-18T15:36:22Z")

</div>

Quick question: Why do you have 2 statuses?

1. Current Shift \> Status
2. Current Shift \> Shift Status

You might have to rethink the collection’s structure…

---

<div class="post-metadata">

**Author:** ![HalAtkins](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@HalAtkins](https://forum.adalo.com/u/HalAtkins)\
**Post date:** [September 18, 2020, 3:56pm UTC](https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124/5 "2020-09-18T15:56:55Z")

</div>

Yeah - as I was starting with this, I created a field “Status” that was a just a text field. Learning a little bit more, I thought it may be best to create a relationship between the “Shift” collection and a “Status” collection.

Reason for moving the “Status” to being its own collection was to be able to use it as a dropdown while creating a new shift.

---

<div class="post-metadata">

**Author:** ![vancewong](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vancewong](https://forum.adalo.com/u/vancewong)\
**Post date:** [September 19, 2020, 6:38am UTC](https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124/6 "2020-09-19T06:38:48Z")

</div>

Can you check if your “Shift” and “Shift Status” collections have a many-to-1 relationship?

1 Shift Status can have many Shifts attached to it, but 1 Shift can only have 1 Shift Status at a time.

I suspect it’s the relationship settings. It looks like you’ve set either a 1-to-many or many-to-many relationship between Shift and Shift Status that’s why there’s a count option.

---

<div class="post-metadata">

**Author:** ![HalAtkins](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@HalAtkins](https://forum.adalo.com/u/HalAtkins)\
**Post date:** [September 23, 2020, 6:57pm UTC](https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124/7 "2020-09-23T18:57:52Z")

</div>

you are correct - changed the relationship settings, and it performed as expected. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [October 3, 2020, 6:57pm UTC](https://forum.adalo.com/t/display-relationship-field-value-in-item-details/4124/8 "2020-10-03T18:57:57Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
