# How to use my form in a repetitive way?

**URL:** <https://community.glideapps.com/t/how-to-use-my-form-in-a-repetitive-way/31720>\
**Category:** Ask for Help\
**Created:** [September 13, 2021, 12:42pm UTC](https://community.glideapps.com/t/how-to-use-my-form-in-a-repetitive-way/31720 "2021-09-13T12:42:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![YOUNGMIN](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/youngmin/32/31663_2.png) [@YOUNGMIN](https://community.glideapps.com/u/YOUNGMIN)\
**Post date:** [September 13, 2021, 12:42pm UTC](https://community.glideapps.com/t/how-to-use-my-form-in-a-repetitive-way/31720/1 "2021-09-13T12:42:53Z")

</div>

Hi, I am trying to make an app to record my golf score.

I have a tab named “Add Round Data”.  
Here, I put date and golf course name, which are columns in my _Round Data Table_.  
Clicking on submit takes to a new form.

The form can add row into my _Hole Data Table_.  
Here, I put hole number, hole type and number of putts.  
What I want to achieve is that if I click a button, then

1. the hole data that I put is added into the Hole Data Table, and
2. the same form is now clear and I can put another hole data so that I can use the same form again and again.
3. when I am done with adding the hole data, I submit and all 1 to 18 hole data are added. (I made a relation between _Round Data Table_ and _Hole Data Table_.  
However, the problem is that the add row button seems unable to understand the data I input in the form. It just makes me add static data or data I previously put in _Hole Data Table_.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/9/b931943f51960f50fd73ce53b33135d738e4df08.png)

What would be the possible solutions?  
Please help me I am helpless.

---

<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:** [September 13, 2021, 12:49pm UTC](https://community.glideapps.com/t/how-to-use-my-form-in-a-repetitive-way/31720/2 "2021-09-13T12:49:25Z")

</div>

It looks like you are already using a built in form with it’s own submit button at the top right. Just curious why you are creating a separate button with an Add Row action? The top right button will already submit the data to the sheet.

If you are actually looking to create a custom form with a custom button, then I would recommend looking at this thread:

> [@How do I create a custom form?](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014):
>
> I’m just dropping this here so I have something to refer people to when they ask. This is a simple concept app (copyable), that demonstrates the following techniques: Building custom forms for adding and editing list items (as an alternative to the native forms provided by Glide) Preventing duplicate new entries using [User Specific Columns](https://docs.glideapps.com/all/reference/data-editor/user-specific-columns) and [Relations](https://docs.glideapps.com/all/reference/data-editor/computed-columns/relation-column) Enforcing mandatory input items The use of visibility conditions and user specific booleans to control user flow There is nothing particula…

Your current approach seems confusing and probably why it’s not working like you think it should.

---

<div class="post-metadata">

**Author:** ![YOUNGMIN](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/youngmin/32/31663_2.png) [@YOUNGMIN](https://community.glideapps.com/u/YOUNGMIN)\
**Post date:** [September 13, 2021, 2:12pm UTC](https://community.glideapps.com/t/how-to-use-my-form-in-a-repetitive-way/31720/4 "2021-09-13T14:12:27Z")

</div>

The reason why i am using a button instead of submit is because clicking on submit make the form disappear.

The current route is

1. Hole Data Add (Screen)
2. Click on Add a Hole Data (Button)
3. Hole Data Add (Form)
4. Submit Hole Data Add (Form) → Round Data Add (New Form)

Is this appoach wrong?  
Can you give me a piece of advice?

---

<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:** [September 13, 2021, 2:22pm UTC](https://community.glideapps.com/t/how-to-use-my-form-in-a-repetitive-way/31720/5 "2021-09-13T14:22:45Z")

</div>

What you are trying to do is unconventional, and not really want the form is designed for. I think using a form with a submit button and your own button would be even more confusing. If you want to be able to submit and still stay on the same screen, then I would take a closer look at creating a custom form by following the directions in the link I provided above. Then you can set up a regular screen with a button that has a custom action to add row, followed by a set column action to clear the entry fields for your next entry.

---

<div class="post-metadata">

**Author:** ![YOUNGMIN](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/youngmin/32/31663_2.png) [@YOUNGMIN](https://community.glideapps.com/u/YOUNGMIN)\
**Post date:** [September 13, 2021, 11:29pm UTC](https://community.glideapps.com/t/how-to-use-my-form-in-a-repetitive-way/31720/6 "2021-09-13T23:29:44Z")

</div>

Thank you so much!!!
