# How hide submit button from form container

**URL:** https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368
**Category:** Ask for Help
**Created:** [December 5, 2023, 5:57am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368 "2023-12-05T05:57:51Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![vijaymee05](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijaymee05/32/67237_2.png) [@vijaymee05](https://community.glideapps.com/u/vijaymee05)
#### Post date: [December 5, 2023, 5:57am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/1 "2023-12-05T05:57:51Z")

</div>

![form-contain](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/1/e174db04ee33c7df2f0385bef2c70b391a97dcb0.jpeg)  
I have 2 sheets `Things` and `Things Log` and both have relation each other with Email and Thing Name.  
In form when it approved, Things Log data updated this is what I want but here it showing two submit button. I know it is one for `Form` component and another for `Form Container`.  
If I use only form component, then could not map values with respective field.

I know I am doing something wrong, but not getting how make it correct. Please help!

---

<div class="post-metadata">

### Author: ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)
#### Post date: [December 5, 2023, 6:08am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/2 "2023-12-05T06:08:07Z")

</div>

> [@vijaymee05](#):
>
> I know it is one for `Form` component and another for `Form Container`.

Upper right on your screenshot, you have a form container component on a form screen. To add an item to a table, you should be using either a form screen (new screen) or a form container on a custom, detail or new screen (inline form).

I feel the form container component could be disabled on an add screen.

> [@vijaymee05](#):
>
> If I use only form component, then could not map values with respective field.

Whether you use the form container component or a form screen, you should be able to add an item to a table.

---

<div class="post-metadata">

### Author: ![vijaymee05](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijaymee05/32/67237_2.png) [@vijaymee05](https://community.glideapps.com/u/vijaymee05)
#### Post date: [December 5, 2023, 7:32am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/3 "2023-12-05T07:32:04Z")

</div>

Thank you for the reply!

If I remove the form container then I could not get Additional columns.

---

<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: [December 5, 2023, 7:34am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/4 "2023-12-05T07:34:27Z")

</div>

Why not?  
You can add as many input components to the form screen as you need.

---

<div class="post-metadata">

### Author: ![vijaymee05](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijaymee05/32/67237_2.png) [@vijaymee05](https://community.glideapps.com/u/vijaymee05)
#### Post date: [December 5, 2023, 7:40am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/5 "2023-12-05T07:40:19Z")

</div>

I want to add them as additional column and these will not be in the form. I did this but not getting the values for the rows. it set empty in respective columns.

---

<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: [December 5, 2023, 7:46am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/6 "2023-12-05T07:46:16Z")

</div>

Can you explain more about these additional columns?  
What type of columns are they, and what values are you wanting to set in them?

I’m thinking that maybe you are looking for [Column Values](https://www.glideapps.com/docs/reference/values/column-values).

---

<div class="post-metadata">

### Author: ![vijaymee05](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijaymee05/32/67237_2.png) [@vijaymee05](https://community.glideapps.com/u/vijaymee05)
#### Post date: [December 5, 2023, 9:11am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/7 "2023-12-05T09:11:04Z")

</div>

![things-log](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/0/903e55c0beb942c74ccb5afb0680279f0fb08668.jpeg)

I don’t want to show these fields into form except approved field but want to save the values of these.

---

<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: [December 5, 2023, 9:19am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/8 "2023-12-05T09:19:47Z")

</div>

Okay, so:

- email you can get from the User Profile
- Timestamp you can use the special Current Time value
- For the other two - Things and Points - where would those values be coming from?

All of the above could be submitted with the form as column values without being displayed anywhere on the form screen.

---

<div class="post-metadata">

### Author: ![vijaymee05](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijaymee05/32/67237_2.png) [@vijaymee05](https://community.glideapps.com/u/vijaymee05)
#### Post date: [December 5, 2023, 9:24am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/9 "2023-12-05T09:24:32Z")

</div>

![form](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/8/9887b0897ba76952663e0e0176959e2cb005d2a1.jpeg)

this is how I mapped the columns

 ![things](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/0/009ef1868a5ce283bc9564619419947971a7d933.jpeg)

this is the Things sheet from where I want to map Name =\> Things and Step Points =\> Points

---

<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: [December 5, 2023, 9:41am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/10 "2023-12-05T09:41:50Z")

</div>

Okay, those screen shots are helpful.

First thing I would say that using an onSubmit action to Set Column Values is not a good way to do this, as it is known to not be 100% reliable. This is because sometimes the Set Column Values action will trigger before the new row has been added, and so there is nothing to update.

That said, I think there might be a better approach to get what you want. If I understand correctly, your flow is that a user will be viewing a particular Assembly Step, and you want to give them an option to Approve that step, and also log the fact that it’s been done.

Assuming the above is correct, I would recommend flipping things around. Instead of opening a Form Screen, just add a normal Button component to your Assembly Steps details screen. Label it as “Approve” and configure a custom action with two steps:

- Step 1: Set Column Values → Approved → `true`
- Step 2: Add Row → Things Log → use values from the current row

The above I think is a simpler approach and should get you what you need.

---

<div class="post-metadata">

### Author: ![vijaymee05](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijaymee05/32/67237_2.png) [@vijaymee05](https://community.glideapps.com/u/vijaymee05)
#### Post date: [December 5, 2023, 10:01am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/11 "2023-12-05T10:01:40Z")

</div>

Yeah! your assumption is correct.

When I select `Set column Values` button is hide.

 ![button1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/c/4c59b2ae5ed23c48932ee3c3dbf6fff361ca2e52.jpeg)

 ![button2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/1/117215a11c363db206df7b9f4515bba7d0303e4b.jpeg)

---

<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: [December 5, 2023, 10:05am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/12 "2023-12-05T10:05:51Z")

</div>

It looks like you are trying to Set Column values via a relation - why?  
My suggestion was to Set Column Values (Approved → `true`) in the current row (This item).

Also, you need a custom action (Create new action) so that you can add a row to the Things Log with a second step.

---

<div class="post-metadata">

### Author: ![vijaymee05](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijaymee05/32/67237_2.png) [@vijaymee05](https://community.glideapps.com/u/vijaymee05)
#### Post date: [December 5, 2023, 10:10am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/13 "2023-12-05T10:10:06Z")

</div>

Yeah I did that because I could not see the `Approved` column. It shows the `Things` sheet’s columns.

 ![button3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/e/6eecfb9be5f60a432895cae5f06dd895f8dd6a12.jpeg)

---

<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: [December 5, 2023, 10:12am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/14 "2023-12-05T10:12:19Z")

</div>

Okay, maybe I misunderstood your intention.

Do you actually need to change anything in the Things table, or is the only goal to add a new row to the Things Log table?

---

<div class="post-metadata">

### Author: ![vijaymee05](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijaymee05/32/67237_2.png) [@vijaymee05](https://community.glideapps.com/u/vijaymee05)
#### Post date: [December 5, 2023, 10:21am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/15 "2023-12-05T10:21:22Z")

</div>

I want to add new row in `Things Log` actually.

Need to map Things(Things Log sheet ) column to Name(Things sheet) column and Email to current 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: [December 5, 2023, 10:26am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/16 "2023-12-05T10:26:04Z")

</div>

Okay, so if that’s the case you should be able to do it with a single Add Row action.  
I’d still recommend a button rather than opening a form screen, as you should then be able to use values from the current row (the row that the details screen is attached to).

---

<div class="post-metadata">

### Author: ![vijaymee05](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vijaymee05/32/67237_2.png) [@vijaymee05](https://community.glideapps.com/u/vijaymee05)
#### Post date: [December 5, 2023, 10:44am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/17 "2023-12-05T10:44:43Z")

</div>

It works 🙂

Thank you for the help!

---

<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: [December 12, 2023, 10:44am UTC](https://community.glideapps.com/t/how-hide-submit-button-from-form-container/68368/18 "2023-12-12T10:44:49Z")

</div>

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