# Add a New Edit Screen

**URL:** <https://community.glideapps.com/t/add-a-new-edit-screen/33134>\
**Category:** Ask for Help\
**Created:** [October 16, 2021, 4:08am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134 "2021-10-16T04:08:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [October 16, 2021, 4:08am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/1 "2021-10-16T04:08:05Z")

</div>

Can I create a “New Edit Screen” for two or more different groups instead of setting their visibility?

---

<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:** [October 16, 2021, 4:25am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/2 "2021-10-16T04:25:35Z")

</div>

I don’t think you can have multiple versions of an edit screen for the same table.

What you would need to do is use a Show New Screen action, and then build out a [Custom Form](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014) on that details screen.

---

<div class="post-metadata">

**Author:** ![Maxim\_KM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxim_km/32/29274_2.png) [@Maxim\_KM](https://community.glideapps.com/u/Maxim_KM)\
**Post date:** [October 16, 2021, 5:01am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/3 "2021-10-16T05:01:35Z")

</div>

better approach: have same Edit for both situations.  
And just change visibility of components depending on user “type”, role, etc.

---

<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:** [October 16, 2021, 5:25am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/4 "2021-10-16T05:25:33Z")

</div>

Except the poster was asking for an alternative to that method 🙂

Also, I’d argue that both methods have their use. Using visibility is fine for simple use cases, but it can very quickly become cumbersome and difficult to manage as the complexity increases.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [October 16, 2021, 6:26am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/5 "2021-10-16T06:26:08Z")

</div>

Thank You. But how do I provide the required conditions for each entry to be submitted?

---

<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:** [October 16, 2021, 8:34am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/6 "2021-10-16T08:34:45Z")

</div>

If you look at the example app that I linked to, it shows how to do that.  
If you have specific questions for your use case, let me know and I’ll help.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [October 16, 2021, 9:42am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/7 "2021-10-16T09:42:18Z")

</div>

Thank you for your help.  
I may need more conditions that govern how people fill in entries, such as text entries that control the number of characters and cannot be blank or a submit button that cannot be pressed before certain conditions are met. Same status as “Show Edit screen”.

---

<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:** [October 16, 2021, 10:17am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/8 "2021-10-16T10:17:37Z")

</div>

Yes, that’s all possible.

There are several different approaches to preventing early submission. My favoured approach is to build the logic into the GDE, and then have the ability to submit conditional on the state of a _single_ boolean column.

So for example, let’s say that there are 4 specific inputs that _must_ not be empty, you might have an if-then-else column with something like:

- If Col1 is empty, then blank
- Else if Col2 is empty, then blank
- Else if Col3 is empty, then blank
- Else if Col4 is empty, then blank
- Else `true`

And then only allow/show the submit button when that column is `true`.

That’s a very simple example. More complex scenarios are possible, but it all depends on your specific use case and how your data is structured.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [October 16, 2021, 10:47am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/9 "2021-10-16T10:47:48Z")

</div>

Correspondingly it will get more complex as well. I was expecting a “Show New Edit Screen” action like “Show New Screen.”  
I’ll try “Create New Action” like your sample app to test its complexity. Thank you.

---

<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:** [October 16, 2021, 11:31am UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/10 "2021-10-16T11:31:32Z")

</div>

No worries.  
I like custom forms because they give me much more flexibility and control.  
But some folks find them more effort than they are worth.  
I get that, so I’m not here to convince you one way or the other.  
But if you decide to take that route and need some help, I’m here.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 17, 2024, 4:50pm UTC](https://community.glideapps.com/t/add-a-new-edit-screen/33134/11 "2024-01-17T16:50:03Z")

</div>


