# On Submit action doesn't work in ADD tab

**URL:** <https://community.glideapps.com/t/on-submit-action-doesnt-work-in-add-tab/22177>\
**Category:** Report a Bug\
**Created:** [February 3, 2021, 10:42am UTC](https://community.glideapps.com/t/on-submit-action-doesnt-work-in-add-tab/22177 "2021-02-03T10:42:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hgdar](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgdar/32/16110_2.png) [@hgdar](https://community.glideapps.com/u/hgdar)\
**Post date:** [February 3, 2021, 10:42am UTC](https://community.glideapps.com/t/on-submit-action-doesnt-work-in-add-tab/22177/1 "2021-02-03T10:42:46Z")

</div>

Whatever i put in the fields, it is simply ignored !!!

 ![Capturetable](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/c/7ce2b0c4b0647f893c940db686d1c9e8ed5ae706.png)

Sorry i can’t upload more than one picture (???)

---

<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:** [February 3, 2021, 1:38pm UTC](https://community.glideapps.com/t/on-submit-action-doesnt-work-in-add-tab/22177/2 "2021-02-03T13:38:55Z")

</div>

What are you trying to do specifically? Are you trying to write a unique ID via the native add option?

---

<div class="post-metadata">

**Author:** ![hgdar](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgdar/32/16110_2.png) [@hgdar](https://community.glideapps.com/u/hgdar)\
**Post date:** [February 3, 2021, 3:07pm UTC](https://community.glideapps.com/t/on-submit-action-doesnt-work-in-add-tab/22177/3 "2021-02-03T15:07:52Z")

</div>

No i want to fill Partenaire ID field with Filtre field

 ![captureonsubmit](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/7/c76f272e56cd8d98c0fa4f32dcd420eebfb25227.png)

---

<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:** [February 3, 2021, 4:14pm UTC](https://community.glideapps.com/t/on-submit-action-doesnt-work-in-add-tab/22177/4 "2021-02-03T16:14:57Z")

</div>

Does the add screen have a “screen column” part? Sorry I can’t check now, but if you have that one, I think you can either set a screen column to be written to the right destination, or possibly a text entry with a default value?

---

<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:** [February 3, 2021, 4:35pm UTC](https://community.glideapps.com/t/on-submit-action-doesnt-work-in-add-tab/22177/5 "2021-02-03T16:35:37Z")

</div>

The problem with the on submit actions in Add mode is that you are not connected to any existing rows so there are no existing values to grab other than whatever is on the user profile sheet (if you have user profiles enabled). I would suggest scrapping the Add mode altogether. Change your list screen to a detail screen. Then add a form button. The detail screen will be connected to the first row in the sheet by default, so you will have access to any values in that first row.

If you don’t want to do that, then make sure your single value column is in the user profile sheet, so it’s accessible everywhere in your app.

---

<div class="post-metadata">

**Author:** ![hgdar](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hgdar/32/16110_2.png) [@hgdar](https://community.glideapps.com/u/hgdar)\
**Post date:** [February 3, 2021, 5:21pm UTC](https://community.glideapps.com/t/on-submit-action-doesnt-work-in-add-tab/22177/6 "2021-02-03T17:21:50Z")

</div>

Finally, I made a form button and added a screen colum in the form to link it to the source form.  
it’s not quite what I wanted at the beginning but it’s also not bad like that.  
thank you 😀 👍
