# Why is it when I publish a picture through the Image picker in the app, it appears two rows in the sheet instead of one. Every picture I posted it comes in double picture and double row instead of one

**URL:** <https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318>\
**Category:** Ask for Help\
**Created:** [January 31, 2023, 2:57pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318 "2023-01-31T14:57:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Beltran\_Esono\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jose_beltran_esono_m/32/53633_2.png) [@Jose\_Beltran\_Esono\_M](https://community.glideapps.com/u/Jose_Beltran_Esono_M)\
**Post date:** [January 31, 2023, 2:57pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/1 "2023-01-31T14:57:05Z")

</div>

![IMG-3648](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/8/e863a8fc028c0670149a001258d7c3959d2ad627.jpeg)

---

<div class="post-metadata">

**Author:** ![Jose\_Beltran\_Esono\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jose_beltran_esono_m/32/53633_2.png) [@Jose\_Beltran\_Esono\_M](https://community.glideapps.com/u/Jose_Beltran_Esono_M)\
**Post date:** [January 31, 2023, 2:59pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/3 "2023-01-31T14:59:52Z")

</div>

Before uploading any image I count it and it always one. Any time I choose one picture the app double it or double the row, I can not control it. I always choose one picture because even tho the app can not upload two pictures at once, always one by one upload.

---

<div class="post-metadata">

**Author:** ![Dilon\_Perera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilon_perera/32/85652_2.png) [@Dilon\_Perera](https://community.glideapps.com/u/Dilon_Perera)\
**Post date:** [January 31, 2023, 3:04pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/4 "2023-01-31T15:04:13Z")

</div>

Hi @Jose_Beltran_Esono_M,

Welcome to the community 🥳

I guess you are using a form screen for add images? And in that screen for the submit form action section did you added a add row action?

Thank you

---

<div class="post-metadata">

**Author:** ![Jose\_Beltran\_Esono\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jose_beltran_esono_m/32/53633_2.png) [@Jose\_Beltran\_Esono\_M](https://community.glideapps.com/u/Jose_Beltran_Esono_M)\
**Post date:** [January 31, 2023, 3:06pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/5 "2023-01-31T15:06:50Z")

</div>

> [@Jose\_Beltran\_Esono\_M](#):
>
> Before uploading any image I count it and it always one. Any time I choose one picture the app double it or double the row, I can not control it. I always choose one picture because even tho the app can not upload two pictures at once, always one by one upload.

Thanks for welcoming me!. Yes I am using a form action and I added a add row action too. But I do not understand white it is adding two rows instead of one. Can you please expalin why is that?

---

<div class="post-metadata">

**Author:** ![Dilon\_Perera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilon_perera/32/85652_2.png) [@Dilon\_Perera](https://community.glideapps.com/u/Dilon_Perera)\
**Post date:** [January 31, 2023, 3:07pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/6 "2023-01-31T15:07:53Z")

</div>

> [@Jose\_Beltran\_Esono\_M](#):
>
> I added a add row action too.

Remove this add row action and try again! In a built in form you don’t need to add the add row action because form does that for you automatically!

More info about Forms : [https://www.glideapps.com/docs/guides/other/forms](https://www.glideapps.com/docs/guides/other/forms)

---

<div class="post-metadata">

**Author:** ![Jose\_Beltran\_Esono\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jose_beltran_esono_m/32/53633_2.png) [@Jose\_Beltran\_Esono\_M](https://community.glideapps.com/u/Jose_Beltran_Esono_M)\
**Post date:** [January 31, 2023, 3:24pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/7 "2023-01-31T15:24:18Z")

</div>

If I remove the option of add row to a new sheet I won’t be able to perform this action. Because as you know the form action is made to have a response, that response for me is the pictures or rows added in a new sheet. If I do not pick any action for “submit” in the form and just select “none” I don’t think it will add the rows and the pictures in a sheet by itselft. So please let me know what option to choose or how to fix the add row action to just add one row or one picture.

 ![IMG-3649](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/f/4f51d4cf3f8ecf8761d2781a502230e372f17f36.jpeg)

---

<div class="post-metadata">

**Author:** ![Dilon\_Perera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilon_perera/32/85652_2.png) [@Dilon\_Perera](https://community.glideapps.com/u/Dilon_Perera)\
**Post date:** [January 31, 2023, 3:29pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/8 "2023-01-31T15:29:51Z")

</div>

The reason that the rows get duplicated because of the Add Row Action. Currently you are in a form screen that the form adds the row to the destination table automatically and when you add the Add Row Action in the on submit section then another row adds to the table and then you get two rows that are same which is a duplicate.

So you can remove the Add Row Action and you are good to go!

Read here for more info about Forms : [Glide Docs • Forms](https://www.glideapps.com/docs/guides/other/forms)

And to add current time and current user’s email you can use special values that you can add by clicking the plus icon. : [Glide Docs • Introduction to Values](https://www.glideapps.com/docs/reference/values/introduction-to-values)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 31, 2023, 3:45pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/9 "2023-01-31T15:45:06Z")

</div>

If you are trying to add extra values such a Time and Email, you do that by adding Value, Special Value, or User Profile Value components. Don’t try to do it using On Submit.

And regardless, if you are trying to update a newly added row, you should be using the Set Column action instead of the Add Row actions. As @Dilon_Perera stated, forms are meant to add rows. Adding another Add Row actions is redundant.

But overall, I usually avoid using any On Submit actions. Add the components you need instead.

---

<div class="post-metadata">

**Author:** ![Jose\_Beltran\_Esono\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jose_beltran_esono_m/32/53633_2.png) [@Jose\_Beltran\_Esono\_M](https://community.glideapps.com/u/Jose_Beltran_Esono_M)\
**Post date:** [January 31, 2023, 3:50pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/10 "2023-01-31T15:50:59Z")

</div>

Thank everyone for the help!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [February 1, 2023, 3:51pm UTC](https://community.glideapps.com/t/why-is-it-when-i-publish-a-picture-through-the-image-picker-in-the-app-it-appears-two-rows-in-the-sheet-instead-of-one-every-picture-i-posted-it-comes-in-double-picture-and-double-row-instead-of-one/57318/11 "2023-02-01T15:51:39Z")

</div>

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