# How can I update row values based off of choice component

**URL:** <https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849>\
**Category:** Ask for Help\
**Created:** [September 6, 2023, 5:19pm UTC](https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849 "2023-09-06T17:19:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![msamps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/msamps/32/71072_2.png) [@msamps](https://community.glideapps.com/u/msamps)\
**Post date:** [September 6, 2023, 5:19pm UTC](https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849/1 "2023-09-06T17:19:50Z")

</div>

Hi everyone,  
I am having the user select a serial number via a choice component and then I would like to update the values of that specific row with the serial number when I click a button. How can I do this. I know this is possible with a list component but I would rather do this via a form style setup

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [September 6, 2023, 5:36pm UTC](https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849/2 "2023-09-06T17:36:54Z")

</div>

Choice component → value

Relation column → value relates to a value in the row you want to update

Button → Set column value action → Source Data = Relation Column → Update column values

---

<div class="post-metadata">

**Author:** ![msamps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/msamps/32/71072_2.png) [@msamps](https://community.glideapps.com/u/msamps)\
**Post date:** [September 6, 2023, 5:57pm UTC](https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849/3 "2023-09-06T17:57:56Z")

</div>

It only allows me to set the source as “this item” or “user profile row”

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [September 6, 2023, 6:07pm UTC](https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849/4 "2023-09-06T18:07:15Z")

</div>

Did you create the single relation column in the same table as the choice component input?

---

<div class="post-metadata">

**Author:** ![msamps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/msamps/32/71072_2.png) [@msamps](https://community.glideapps.com/u/msamps)\
**Post date:** [September 6, 2023, 6:09pm UTC](https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849/5 "2023-09-06T18:09:22Z")

</div>

Yes. it sets a temp input from the choice component in the user profile row, but it doesnt let me select that specific cell column. Only the row as a whole. The page is setup with one choice component and a button below it. The button triggers the custom action

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [September 6, 2023, 6:24pm UTC](https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849/6 "2023-09-06T18:24:34Z")

</div>

Can you do a screencast using loom?

---

<div class="post-metadata">

**Author:** ![msamps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/msamps/32/71072_2.png) [@msamps](https://community.glideapps.com/u/msamps)\
**Post date:** [September 6, 2023, 6:28pm UTC](https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849/7 "2023-09-06T18:28:56Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/5/35dc4f81b9689ffbdddf2f74fc14148f7e0d8bf4.jpeg)

Main data has the information i’m trying to change. User profile row has the relation column

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 7, 2023, 1:18am UTC](https://community.glideapps.com/t/how-can-i-update-row-values-based-off-of-choice-component/65849/8 "2023-09-07T01:18:24Z")

</div>

> [@msamps](#):
>
> I would like to update the values of that specific row with the serial number when I click a button.

What “specific row” are you talking about here? Seems like you’re still not setting up a relation.
