# Data not adding to form

**URL:** <https://community.glideapps.com/t/data-not-adding-to-form/43135>\
**Category:** Report a Bug\
**Created:** [June 16, 2022, 3:06am UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135 "2022-06-16T03:06:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![moshi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/moshi/32/43745_2.png) [@moshi](https://community.glideapps.com/u/moshi)\
**Post date:** [June 16, 2022, 3:06am UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/1 "2022-06-16T03:06:32Z")

</div>

I have an order page where the form adds the User’s ROW\_ID to the order, everything was working great but things get weird when I test with other users or try it on different platforms like my phone instead of mobile\_view on desktop.  
 ![Screen Shot 2022-06-15 at 11.02.43 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/8/68d6b84fc4c9a49d11a8abd807e8e65f8f97ac48.png)

Sometimes it would add the ROWID then not add it when it’s the same user

---

<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:** [June 16, 2022, 3:20am UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/2 "2022-06-16T03:20:16Z")

</div>

Can you show how the RowID gets added?  
Is it used with the form as a column value, or is it part of an on submit action?  
I assume that your User Profiles are correctly set up, and you’re correctly selecting the value from the user profile row?

 ![Screen Shot 2022-06-16 at 11.19.36 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/4/345a14288ac21b657b8732adc70a63216f125757.png)

---

<div class="post-metadata">

**Author:** ![moshi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/moshi/32/43745_2.png) [@moshi](https://community.glideapps.com/u/moshi)\
**Post date:** [June 16, 2022, 3:24am UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/3 "2022-06-16T03:24:44Z")

</div>

> [@Darren\_Murphy](#):
>
> Can you show how the RowID gets added?

Hey brother, so the way it get’s added is on a submit forum.

 ![Screen Shot 2022-06-15 at 11.23.36 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/2/1201ead19c779c553d77d24dfd0876fa9983c26e.jpeg)

Maybe I didn’t set up my user profiles correctly? How would I check?

---

<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:** [June 16, 2022, 3:28am UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/4 "2022-06-16T03:28:29Z")

</div>

> [@moshi](#):
>
> Maybe I didn’t set up my user profiles correctly? How would I check?

It looks like you do, but to double check you can click on the User Profile “tab” in the tabs menu:

 ![Screen Shot 2022-06-16 at 11.25.54 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/a/9a70a59384484d5bb373c9af7df626f8fb2ecf99.png)

And then you should see something like this:

 ![Screen Shot 2022-06-16 at 11.26.05 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/a/7a5c7b4501ba68f3ddfbbe6ee321de014e757b84.png)

Another thing that could be tripping things up is Row Owners. Do any columns in your User Profiles table have Row Owners applied? If yes, which?

---

<div class="post-metadata">

**Author:** ![moshi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/moshi/32/43745_2.png) [@moshi](https://community.glideapps.com/u/moshi)\
**Post date:** [June 16, 2022, 3:30am UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/5 "2022-06-16T03:30:56Z")

</div>

Users is set up correctly, yeah. And no row owners.

It’s weird, and kind of annoying. Since i’m new I don’t know if it’s me or the system

---

<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:** [June 16, 2022, 3:33am UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/6 "2022-06-16T03:33:36Z")

</div>

If you are using a form, you can add a user profile column component to the form itself. Personally I don’t like using ‘On Submit’ for anything if I don’t have to.

---

<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:** [June 16, 2022, 12:23pm UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/7 "2022-06-16T12:23:23Z")

</div>

To be clear, “On Submit” would fail if the row is not created before the action takes place. As Jeff said, please use a special value.

> **[Special Values](https://docs.glideapps.com/all/topics/values/special-values)**

---

<div class="post-metadata">

**Author:** ![moshi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/moshi/32/43745_2.png) [@moshi](https://community.glideapps.com/u/moshi)\
**Post date:** [June 16, 2022, 12:42pm UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/8 "2022-06-16T12:42:03Z")

</div>

> [@Jeff\_Hager](#):
>
> you can add a user profile column component to the form itself.

This is a really good idea, and worked for a lot of the users, except for one of them (so far). When I submit the form under “John” it takes the ROWID from another user and uses that data, but none of the other users that i’ve tested does that (so far)

 ![Screen Shot 2022-06-16 at 8.39.02 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/8/980e1337d092ead79680fa6c890ef3bd6eba9324.png)  
 ![Screen Shot 2022-06-16 at 8.40.18 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/a/8acbb7964204c12cd18089088627d0106bd726dd.jpeg)  
It seems like the issues is with that one user “John”. When I create an order with him it doesn’t work randomly, for some reason it’s taking the ROWID from another user, i’ll screenshot the other user’s info here:  
 ![Screen Shot 2022-06-16 at 8.41.19 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/b/cb47e0aae1ce35300f8773affc1890f282fa197f.png)

---

<div class="post-metadata">

**Author:** ![moshi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/moshi/32/43745_2.png) [@moshi](https://community.glideapps.com/u/moshi)\
**Post date:** [June 16, 2022, 12:43pm UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/9 "2022-06-16T12:43:39Z")

</div>

> [@ThinhDinh](#):
>
> To be clear, “On Submit” would fail if the row is not created before the action takes place

But there are required fields within the Form, so prior to the action there necessarily would need to be a row created by the user - not sure why it wouldn’t populate.

---

<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:** [June 16, 2022, 1:17pm UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/10 "2022-06-16T13:17:31Z")

</div>

I don’t think it works like that. The form’s “add row” action fires and right after that the “set column” on-submit action fires, there’s no guarantee that the row is there in time for the set column action to work with. We have seen this behaviour reported many times.

---

<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:** [June 16, 2022, 1:18pm UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/11 "2022-06-16T13:18:07Z")

</div>

Are you using a “screen column” or a “user profiles column”?

---

<div class="post-metadata">

**Author:** ![moshi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/moshi/32/43745_2.png) [@moshi](https://community.glideapps.com/u/moshi)\
**Post date:** [June 16, 2022, 1:21pm UTC](https://community.glideapps.com/t/data-not-adding-to-form/43135/12 "2022-06-16T13:21:19Z")

</div>

> [@ThinhDinh](#):
>
> Are you using a “screen column” or a “user profiles column”?

I changed the ROWID to be created through a user profile column, which seemed to solve the problem but this happened:

> [@moshi](#):
>
> ![Screen Shot 2022-06-16 at 8.39.02 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/8/980e1337d092ead79680fa6c890ef3bd6eba9324.png)
> 
> ![Screen Shot 2022-06-16 at 8.40.18 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/a/8acbb7964204c12cd18089088627d0106bd726dd.jpeg)
> 
> It seems like the issues is with that one user “John”. When I create an order with him it
