# Set column values doesn’t work

**URL:** <https://community.glideapps.com/t/set-column-values-doesn-t-work/45610>\
**Category:** Ask for Help\
**Created:** [July 30, 2022, 7:45pm UTC](https://community.glideapps.com/t/set-column-values-doesn-t-work/45610 "2022-07-30T19:45:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbf\_team](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fbf_team/32/25159_2.png) [@fbf\_team](https://community.glideapps.com/u/fbf_team)\
**Post date:** [July 30, 2022, 7:45pm UTC](https://community.glideapps.com/t/set-column-values-doesn-t-work/45610/1 "2022-07-30T19:45:05Z")

</div>

We tried using the “set column values” action in the onSubmit event of a creation form, but it didn’t change any columns, we tried putting a constant and it didn’t work either.  
Any suggestions on how to fix it?

---

<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:** [July 31, 2022, 12:40am UTC](https://community.glideapps.com/t/set-column-values-doesn-t-work/45610/2 "2022-07-31T00:40:34Z")

</div>

That is not the recommended way to do it, the reason for that is the set column may fire before the row is actually created.

If you’re setting a value from the previous screen, you can use a special value component to do that. It’s guaranteed to work.

If you’re setting a constant, use a text entry/number entry, set a default value, and set the visibility of that component to something that is never true (so the entry can not be changed).
