# Change default value of Button to TRUE?

**URL:** <https://community.glideapps.com/t/change-default-value-of-button-to-true/6677>\
**Category:** Ask for Help\
**Created:** [April 9, 2020, 3:22pm UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677 "2020-04-09T15:22:50Z")\
**Posts on this page:** 11\
**Page:** 2

<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:** [July 20, 2020, 10:19pm UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/21 "2020-07-20T22:19:58Z")

</div>

Yep. That’s what I’m getting at. Open the list item and flip the switch. That or change the list to a checklist style layout

---

<div class="post-metadata">

**Author:** ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)\
**Post date:** [July 20, 2020, 10:30pm UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/22 "2020-07-20T22:30:52Z")

</div>

> [@Jeff\_Hager](#):
>
> Open

I am lost here because I cannot see a list item which is a switch as a result of my Form submission.  
How exactly was I supposed to have originally transferred the “True” to the Form? I had used a hidden column to do it (from parent to the Form). I did not transfer it to a switch - just to a regular column. So after the form submission, I can only access the value of this column. Where does a switch come in?

I am using a Details layout to view my list and cannot switch to checklist style layout. I have 100% customized to the Details layout.

---

<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:** [July 20, 2020, 10:40pm UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/23 "2020-07-20T22:40:45Z")

</div>

Yes you can. Go into the settings of the inline list and change the layout style.

---

<div class="post-metadata">

**Author:** ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)\
**Post date:** [July 20, 2020, 10:46pm UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/24 "2020-07-20T22:46:11Z")

</div>

> [@Fassil\_Befekadu](#):
>
> Details

I don’t know what " go to settings of inline list" means. Here is what Details vs. Checklist views look like.

 ![Screen Shot 2020-07-20 at 3.44.34 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/5070dd7e79489d85c1c040ad135c7e9db5bc9877.png) ![Screen Shot 2020-07-20 at 3.43.53 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/3/3f3e40fee3d99e1f999035d66a72be7bc3c2c747.png) ![Screen Shot 2020-07-20 at 3.43.38 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/3/3aa8d532ea47f7918a5cf9c0aaf092336789ade9.png)

---

<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:** [July 20, 2020, 10:46pm UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/25 "2020-07-20T22:46:54Z")

</div>

Click on the inline list component

---

<div class="post-metadata">

**Author:** ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)\
**Post date:** [July 20, 2020, 10:51pm UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/26 "2020-07-20T22:51:46Z")

</div>

Do you mean ‘add a component that is an inline list’? What does ‘go to settings of the inline list’ mean?

Sorry I do not follow you that easily Jeff…I have never seen these things discussed elsewhere.

---

<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:** [July 20, 2020, 11:01pm UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/27 "2020-07-20T23:01:27Z")

</div>

OK, we can go back and forth all day, but it looks like we need to cover some basic stuff first. I’m gonna need to see screenshots of your detail screen and all the components that you have on it. I’m gonna need to see the form screen and all the components on it. I want to see the data on the parent sheet, including the template column that contains the true value. I want to see the data on the form response sheet, including the column that is receiving the true column value from the parent sheet. I especially want to see your form response list, and what you see when you click on a list item. If you want to do it as a video, that is fine. If you want to share the published link to your app or allow it to be copied, even better. If you can show or demonstrate how the app is supposed to flow from beginning to end, then it will help me understand. From what I understand, you have everything in place and the only step left is to change the style of your list to a checklist OR add a switch component within the details view of the list items, but I can only make assumptions based on what I’ve read. Visuals help immensely.

---

<div class="post-metadata">

**Author:** ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)\
**Post date:** [July 20, 2020, 11:02pm UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/28 "2020-07-20T23:02:29Z")

</div>

> [@Jeff\_Hager](#):
>
> Visuals

ok @Jeff_Hager. I will try to put it together and send it to you. I very much appreciate your help.

---

<div class="post-metadata">

**Author:** ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)\
**Post date:** [July 22, 2020, 3:44am UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/29 "2020-07-22T03:44:41Z")

</div>

“Then when the user edits the record, the switch would already be set to true.”

1. When you say ‘edits the record’ do you mean actually clicking on “Edit Item” icon from the (after Form submission) page to open up a switch component and clicking toggle to switch it to FALSE? Or did you mean this can be done directly from the post Form submission page (my preference), without any need to click on the “Edit Item” icon?

2.In this scenario, would the edit would be happening in the Form (before submission) or in the parent sheet (after Form submission)?

If after submission:  
3. Does this not mean it is happening in the parent sheet? If not, where else are ‘forms submitted’?

1. I am assuming the switch icon exists on parent sheet and not to the sheet where all the submitted Forms reside. However, the changes that I want the user to make are to the latest submitted Form. As such, switching from TRUE to FALSE on the switch will only be recorded on the parent sheet. What is the best way to link this to the last submitted Form sheet record?

Thanks for all your help, @Jeff_Hager.

---

<div class="post-metadata">

**Author:** ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)\
**Post date:** [July 23, 2020, 1:16am UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/30 "2020-07-23T01:16:34Z")

</div>

Here is the app flow via screenshots.

 ![4. Edit Sheet. I am limited to the Parent Sheet in terms of what I can edit here. Which is a problem.](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/d32d23fc3bcdc77411b96d2f93d53de191e40ca1.png) ![3. After Form submission. Back to Parent sheet. Note that I could not include the Due Date until I knew the Payment Title. I calculated the Date in my Parent Sheet using a formula.](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/968a9dea294950b69f3513649d8aad28f0e9494d.png) ![2. Form that User Fills out. Data goes to Form Sheet.](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/1/1601b55cbadf858ff3a04a999f4c2a359045bdb6.png) ![1. Prior to Form Submission. Parent Sheet.](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/5a14379825c067949edf585edafe4ee2df78ff88.png)

---

<div class="post-metadata">

**Author:** ![Fassil\_Befekadu](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Fassil\_Befekadu](https://community.glideapps.com/u/Fassil_Befekadu)\
**Post date:** [September 17, 2020, 12:59am UTC](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677/31 "2020-09-17T00:59:16Z")

</div>

In your explanation here, can you please provide an example of illustrating how “Then when the user edits the record, the switch would already be set to true.” would work?

How would the switch on the parent sheet actually be forced to change to True? Would I have to use a Lookup from the parent sheet to look up the True value from the sheet where it was written to? What are the possibilities? I am trying to utilize for purposes of using for some of my visibility conditions.

As always, thanks for your help.

[Previous page](https://community.glideapps.com/t/change-default-value-of-button-to-true/6677.md?page=1)
