# Action on submit form: Set column value is automatic deleted

**URL:** <https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446>\
**Category:** Ask for Help\
**Tags:** actions\
**Created:** [April 10, 2024, 6:04am UTC](https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446 "2024-04-10T06:04:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rasmus\_Virkus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rasmus_virkus/32/71221_2.png) [@Rasmus\_Virkus](https://community.glideapps.com/u/Rasmus_Virkus)\
**Post date:** [April 10, 2024, 6:04am UTC](https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446/1 "2024-04-10T06:04:10Z")

</div>

Hi everyone. When a form is submitted in my app, I got a action that is setting column values. The data is briefly added, and then it’s deleted somehow… Does someone have a solution for that? Thank you in advance!  
 ![Screenshot 2024-04-10 080429](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/7/37568d128df6359843e72643456dc5b8c4e48a7a.png)

 ![Screenshot 2024-04-10 080436](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/a/2a8a4cbea3386044b8031c18d3733cdd4500e4c1.png)  
 ![Screenshot 2024-04-10 080442](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/5/f58de97463b6afdd3e6da1357fa8cce233ac846f.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 10, 2024, 7:06am UTC](https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446/2 "2024-04-10T07:06:01Z")

</div>

The solution is not to use Set Column values in a Form onSubmit action.  
Instead, pass the values with the Form.  
App Users email can be passed directly with the form.  
The other two (Project/Type and Delivery/Status) can either be passed as Column values, User Profile values, or default values with a hidden input component.

> **[Values | Glide Docs](https://www.glideapps.com/docs/reference/values)**
>
> The different types of values you can work with in Glide.

---

<div class="post-metadata">

**Author:** ![Rasmus\_Virkus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rasmus_virkus/32/71221_2.png) [@Rasmus\_Virkus](https://community.glideapps.com/u/Rasmus_Virkus)\
**Post date:** [April 10, 2024, 1:41pm UTC](https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446/3 "2024-04-10T13:41:23Z")

</div>

Hi Darren, thank you for your response. I have tried to add 2 text entry components with a default value instead, and then hidden them with the visibility condition. But it does not seem to work, do you know what I’m doing wrong?  
 ![Screenshot 2024-04-10 154047](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/1/b13bf88414a2c4f2135d8574e52d959d696d77b2.png)

 ![Screenshot 2024-04-10 154052](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/7/7723fb0d9449aa9fc321c37ee00ef5cc7717e0e2.png)  
 ![Screenshot 2024-04-10 154056](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/f/bfd7e60717be1161c53c921d2c240539c9a0119a.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 10, 2024, 1:51pm UTC](https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446/4 "2024-04-10T13:51:15Z")

</div>

I don’t often use this method, but I just tested to make sure it works - which it does.

The only difference I can see with your setup is that you’ve applied the visibility condition to the parent container, rather than the individual components. I don’t think it will make any difference, but you could try changing that and instead apply the visibility condition to each component.

---

<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:** [April 10, 2024, 2:29pm UTC](https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446/5 "2024-04-10T14:29:10Z")

</div>

> [@Darren\_Murphy](#):
>
> The only difference I can see with your setup is that you’ve applied the visibility condition to the parent container, rather than the individual components. I don’t think it will make any difference, but you could try changing that and instead apply the visibility condition to each component.

I encountered this a few weeks ago, if you put that into a container, then it won’t pass no matter what you try. I had to move them out.

---

<div class="post-metadata">

**Author:** ![Rasmus\_Virkus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rasmus_virkus/32/71221_2.png) [@Rasmus\_Virkus](https://community.glideapps.com/u/Rasmus_Virkus)\
**Post date:** [April 10, 2024, 2:38pm UTC](https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446/6 "2024-04-10T14:38:11Z")

</div>

It worked when I moved it out of the container, thank you Darren.

---

<div class="post-metadata">

**Author:** ![Rasmus\_Virkus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rasmus_virkus/32/71221_2.png) [@Rasmus\_Virkus](https://community.glideapps.com/u/Rasmus_Virkus)\
**Post date:** [April 10, 2024, 2:38pm UTC](https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446/7 "2024-04-10T14:38:50Z")

</div>

I was not thinking that it would effect it, but it did. When I moved them out of a container, it worked. Thank you

---

<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:** [April 17, 2024, 2:39pm UTC](https://community.glideapps.com/t/action-on-submit-form-set-column-value-is-automatic-deleted/72446/8 "2024-04-17T14:39:47Z")

</div>

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