# Able to use two different edit forms in one screen

**URL:** <https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917>\
**Category:** Ask for Help\
**Created:** [February 17, 2021, 8:30am UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917 "2021-02-17T08:30:37Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vanguardian\_PH](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vanguardian_ph/32/21294_2.png) [@Vanguardian\_PH](https://community.glideapps.com/u/Vanguardian_PH)\
**Post date:** [February 17, 2021, 8:30am UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/1 "2021-02-17T08:30:37Z")

</div>

I am not sure if this is possible but I’m creating an errand booking app that lets customers acquire the assistance of riders in doing their errands. I am able to edit a specific errand using the edit form from a layout tab but when I tried adding a Form Button component, set its action to “Link to screen” and configure that screen to be editable by a customer, it always shows the values from the first row of a sheet and not the specific errand. There’s basically two edit forms - one for riders and one for customers. Customers edit the Notes component in that screen in case they need to update the errand details.

---

<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:** [February 17, 2021, 8:47am UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/2 "2021-02-17T08:47:44Z")

</div>

> [@Vanguardian\_PH](#):
>
> I am able to edit a specific errand using the edit form from a layout tab but when I tried adding a Form Button component, set its action to “Link to screen” and configure that screen to be editable by a customer, it always shows the values from the first row of a sheet and not the specific errand.

Probably the easiest way to fix that would be to change the list action from “Link to Screen” to “View Details”, and then either allow editing, or build your edit form on that screen. Then you can be sure your users are editing the correct row.

Given that you have two different groups of users that need to edit different things, you’ll probably need to build your own edit form, and then use component visibility to show the appropriate input components to the correct groups.

---

<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:** [February 17, 2021, 2:31pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/3 "2021-02-17T14:31:36Z")

</div>

Have you tried to select Link to Screen ‘This Item’ instead of selecting Link to Screen and then selecting the sheet?

---

<div class="post-metadata">

**Author:** ![Vanguardian\_PH](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vanguardian_ph/32/21294_2.png) [@Vanguardian\_PH](https://community.glideapps.com/u/Vanguardian_PH)\
**Post date:** [February 17, 2021, 3:00pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/4 "2021-02-17T15:00:36Z")

</div>

Hi! Thank you for the response, however I don’t see this action under the Form Button component.

---

<div class="post-metadata">

**Author:** ![Vanguardian\_PH](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vanguardian_ph/32/21294_2.png) [@Vanguardian\_PH](https://community.glideapps.com/u/Vanguardian_PH)\
**Post date:** [February 17, 2021, 3:09pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/5 "2021-02-17T15:09:49Z")

</div>

Hi! I don’t see this either. The screen I’m trying to put the form on was already accessed through a View Details action with an unticked “Independent screen configuration per item” checkbox.

---

<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:** [February 17, 2021, 3:16pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/6 "2021-02-17T15:16:38Z")

</div>

Can you not add input components to that screen?

NB. I’m not suggesting that you add a “form” per se, but rather that you:

- add the input components that you need
- add a button
- associate an action with that button that does a Set Columns action (or Add Row, whichever is appropriate)

---

<div class="post-metadata">

**Author:** ![Vanguardian\_PH](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vanguardian_ph/32/21294_2.png) [@Vanguardian\_PH](https://community.glideapps.com/u/Vanguardian_PH)\
**Post date:** [February 17, 2021, 3:21pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/7 "2021-02-17T15:21:41Z")

</div>

I can add input components in the screen. But I want the ability to let a customer edit their own notes. I have used the Edit Form tab for riders and it seems to get the ID from the previous screen. I have a programming background, and I want to know if its possible to pass some sort of ID to an action or something?

I tried the Set Columns action just awhile ago but it just adds a new row (similar to using the add new row action). I wanted to update the same row for a particular record.

EDIT: or are you trying to suggest to have a text entry component inside the screen instead of linking to a new screen? I haven’t tried this yet.

---

<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:** [February 17, 2021, 3:23pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/8 "2021-02-17T15:23:55Z")

</div>

> [@Vanguardian\_PH](#):
>
> EDIT: or are you trying to suggest to have a text entry component inside the screen instead of linking to a new screen? I haven’t tried this yet.

Yes. text entry == input component

---

<div class="post-metadata">

**Author:** ![Vanguardian\_PH](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vanguardian_ph/32/21294_2.png) [@Vanguardian\_PH](https://community.glideapps.com/u/Vanguardian_PH)\
**Post date:** [February 17, 2021, 3:26pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/9 "2021-02-17T15:26:39Z")

</div>

So I guess we can’t create our own “Edit Form” screen similar to the built-in Edit Form screen that Glide provides? Please clarify this.

EDIT: Yeah, guess I don’t need a button at all. Just a Text Entry component and it will automatically update. Looks like there’s no way to create a custom Edit Form 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:** [February 17, 2021, 3:32pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/10 "2021-02-17T15:32:38Z")

</div>

Yes, you can.  
Here is an example from one of my own apps.  
The below is a “View Details” screen that has been re-purposed as an Edit screen.  
Each input component is directed at the appropriate column.  
The existing value is shown, and can be edited.  
A Submit button (out of view), does a Set Columns action.

 ![Screen Shot 2021-02-17 at 11.29.11 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/1/a1a1e368d1359a863d353b6f3c98d06767c23041.png)

---

<div class="post-metadata">

**Author:** ![Vanguardian\_PH](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vanguardian_ph/32/21294_2.png) [@Vanguardian\_PH](https://community.glideapps.com/u/Vanguardian_PH)\
**Post date:** [February 17, 2021, 3:35pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/11 "2021-02-17T15:35:30Z")

</div>

I forgot to add, but I was trying to edit specific columns and not all columns. And like I said, the screen is already on a view details screen but I wanted to add a new screen within that view details screen for an edit form. My screens could have gone like this:

Tab → Clicked on a record (with an action set to View Details) → Information screen listing all the details of that particular record → A button that will redirect to an edit screen editing only specific columns.

I believe what you have on your screenshot is simply the screen accessed through a View Details action and repurposed as an 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:** [February 17, 2021, 3:45pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/12 "2021-02-17T15:45:44Z")

</div>

> [@Vanguardian\_PH](#):
>
> Tab → Clicked on a record (with an action set to View Details) → Information screen listing all the details of that particular record → A button that will redirect to an edit screen editing only specific columns.

That’s exactly what mine is.  
The key is here:

> [@Vanguardian\_PH](#):
>
> A button that will redirect to an edit screen editing only specific columns.

That button should do a Link to Screen → This Item action  
And then you build your edit screen out on there.

---

<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:** [February 17, 2021, 3:48pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/13 "2021-02-17T15:48:08Z")

</div>

Here’s a short video to show what it looks like:

---

<div class="post-metadata">

**Author:** ![Vanguardian\_PH](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vanguardian_ph/32/21294_2.png) [@Vanguardian\_PH](https://community.glideapps.com/u/Vanguardian_PH)\
**Post date:** [February 17, 2021, 4:39pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/14 "2021-02-17T16:39:21Z")

</div>

Thank you, but I’ll stick with the text entry component solution instead.

---

<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:** [February 18, 2021, 12:03am UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/15 "2021-02-18T00:03:45Z")

</div>

I usually use the same method, adding in a CSS to hide the back button and the tab bar so that the user must finish editing in order to “go back” or view another 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:** [February 18, 2021, 12:53am UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/16 "2021-02-18T00:53:54Z")

</div>

Yeah, same.  
Not sure why I didn’t do that here… I think I was just being lazy 😂

---

<div class="post-metadata">

**Author:** ![AlvinM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alvinm/32/40286_2.png) [@AlvinM](https://community.glideapps.com/u/AlvinM)\
**Post date:** [May 29, 2022, 6:06pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/17 "2022-05-29T18:06:13Z")

</div>

Hey Sensei @ThinhDinh , if its okay to have a copy of your CSS on hiding the back button? Thanks!

---

<div class="post-metadata">

**Author:** ![Dilon\_Perera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilon_perera/32/85652_2.png) [@Dilon\_Perera](https://community.glideapps.com/u/Dilon_Perera)\
**Post date:** [May 29, 2022, 6:31pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/18 "2022-05-29T18:31:30Z")

</div>

@AlvinM 👇

> [@Can I hide the back button at the top?](https://community.glideapps.com/t/can-i-hide-the-back-button-at-the-top/31075/2):
>
> Use this in a rich text component \<pre\>\<span\>\<style\> [data-test="back-button"] { display: none; } However users can still use a swipe left action or Android’s back button to navigate back, you don’t have control over those.

---

<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:49pm UTC](https://community.glideapps.com/t/able-to-use-two-different-edit-forms-in-one-screen/22917/19 "2024-01-17T16:49:36Z")

</div>


