# How to Hide "Submit" Button on Form Container

**URL:** <https://community.glideapps.com/t/how-to-hide-submit-button-on-form-container/81045>\
**Category:** Ask for Help\
**Created:** [March 28, 2025, 5:53pm UTC](https://community.glideapps.com/t/how-to-hide-submit-button-on-form-container/81045 "2025-03-28T17:53:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstam2](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mstam2/32/67186_2.png) [@mstam2](https://community.glideapps.com/u/mstam2)\
**Post date:** [March 28, 2025, 5:53pm UTC](https://community.glideapps.com/t/how-to-hide-submit-button-on-form-container/81045/1 "2025-03-28T17:53:55Z")

</div>

Hi All –

I have a multi-step form within a form container. There are a few “continue” buttons, which show more of the form when clicked. The “Submit” button on the form container only enables once all continue buttons are pressed and required fields are entered. Wanted to know if anyone had any CSS tricks to hide the Submit button until the last continue button is pressed?

Otherwise it looks like this:

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

Thanks!

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [March 28, 2025, 7:25pm UTC](https://community.glideapps.com/t/how-to-hide-submit-button-on-form-container/81045/2 "2025-03-28T19:25:28Z")

</div>

You can CTRL+ SHIFT+C, then select the submit button, then right click on the element in the source code, the copy css selector.

Paste that in the custom CSS field like this:

```css
Pasted selector {
display: none;
}

```

---

<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:** [March 29, 2025, 5:27am UTC](https://community.glideapps.com/t/how-to-hide-submit-button-on-form-container/81045/3 "2025-03-29T05:27:20Z")

</div>

Assuming you have a step value, it would look like this:

- Add a rich text component to the form, add something like `<div></div>` to its content, and set the visibility to “Step is less than [Max step]”.
- Use a custom class name for it: `prevent-submit-form-container`, add a `custom-form-container` class name to the form container itself.
- Add this CSS to Settings \> Appearance \> Custom CSS:

```auto
#page-root:has(.prevent-submit-form-container) .custom-form-container button[aria-label="Submit"] {
display: none;
}

```

This means that when the rich text component is visible (current step not the last step), then the submit button is set to not displayed.

---

<div class="post-metadata">

**Author:** ![mstam2](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mstam2/32/67186_2.png) [@mstam2](https://community.glideapps.com/u/mstam2)\
**Post date:** [March 31, 2025, 11:28am UTC](https://community.glideapps.com/t/how-to-hide-submit-button-on-form-container/81045/4 "2025-03-31T11:28:55Z")

</div>

Thank you, as always!

Note I had to add the rich text component to the form container itself for some reason + turn of “use compiled CSS” in the custom CSS section, which was on by default, for it to work.

---

<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:** [April 1, 2025, 12:47am UTC](https://community.glideapps.com/t/how-to-hide-submit-button-on-form-container/81045/5 "2025-04-01T00:47:11Z")

</div>

> [@mstam2](#):
>
> turn of “use compiled CSS” in the custom CSS section, which was on by default, for it to work.

The recommendation is having it off, and turn on “Preview custom CSS”.

---

<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:** [April 8, 2025, 12:47am UTC](https://community.glideapps.com/t/how-to-hide-submit-button-on-form-container/81045/6 "2025-04-08T00:47:34Z")

</div>

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