# Form creating two rows of data

**URL:** <https://community.glideapps.com/t/form-creating-two-rows-of-data/64146>\
**Category:** Ask for Help\
**Created:** [July 20, 2023, 2:35am UTC](https://community.glideapps.com/t/form-creating-two-rows-of-data/64146 "2023-07-20T02:35:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamd4n](https://avatars.discourse-cdn.com/v4/letter/i/b782af/32.png) [@iamd4n](https://community.glideapps.com/u/iamd4n)\
**Post date:** [July 20, 2023, 2:35am UTC](https://community.glideapps.com/t/form-creating-two-rows-of-data/64146/1 "2023-07-20T02:35:15Z")

</div>

Hi,

When I submit this form on this screen, it creates two rows of data for some reason. And only one of those rows has the current Date & Time filled out while the other one is empty.

Any idea why this is happening?

Also this form is located on the detail page of “Company A”. Is there a way to auto-populate the “company” field in the form with “Company A” or the company detail page that I am currently on?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/9/19fe7984dc168613059f2f8c12af46deeeeaaf1f.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/8/084a7b39e255151411414fa5e4ffc600af8f34fc.png)

---

<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:** [July 20, 2023, 2:53am UTC](https://community.glideapps.com/t/form-creating-two-rows-of-data/64146/2 "2023-07-20T02:53:01Z")

</div>

Remove the extra Add Row action. Forms already add rows on there own.

Also add the necessary special value components to get the date and time.

Same for the company. Add the appropriate column value component to the form.

---

<div class="post-metadata">

**Author:** ![iamd4n](https://avatars.discourse-cdn.com/v4/letter/i/b782af/32.png) [@iamd4n](https://community.glideapps.com/u/iamd4n)\
**Post date:** [July 20, 2023, 3:15am UTC](https://community.glideapps.com/t/form-creating-two-rows-of-data/64146/3 "2023-07-20T03:15:55Z")

</div>

Thank you! It worked perfectly.

---

<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:** [July 21, 2023, 3:16am UTC](https://community.glideapps.com/t/form-creating-two-rows-of-data/64146/4 "2023-07-21T03:16:07Z")

</div>

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