# How to set a specific value as default value for choice?

**URL:** <https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344>\
**Category:** Ask for Help\
**Created:** [September 26, 2021, 12:11pm UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344 "2021-09-26T12:11:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![YOUNGMIN](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/youngmin/32/31663_2.png) [@YOUNGMIN](https://community.glideapps.com/u/YOUNGMIN)\
**Post date:** [September 26, 2021, 12:11pm UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/1 "2021-09-26T12:11:32Z")

</div>

I have a choice component and I want it to have 1 as a default value selected.  
In the setting I want, 1 is already selected and if I add row I want 1 is added in that column.  
Is there any fuction in Glide for this?

Thanks!

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [September 26, 2021, 12:32pm UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/2 "2021-09-26T12:32:41Z")

</div>

Hola @YOUNGMIN

On the setting panel of the choice component you will find the default value option.

I’m not close to a computer at the moment. If anybody else doesn’t provide a screenshot of it, I will later today.

---

<div class="post-metadata">

**Author:** ![YOUNGMIN](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/youngmin/32/31663_2.png) [@YOUNGMIN](https://community.glideapps.com/u/YOUNGMIN)\
**Post date:** [September 26, 2021, 12:40pm UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/3 "2021-09-26T12:40:04Z")

</div>

Hi Santiago!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/a/0a7f1fb02d2d3fa74f8201eb26b8df035637fc9f.png)

Seems like it only exists in form setting. Can’t understand why it is designed this way. Glide is really a useful tool but I can’t understand why they don’t allow a flexible form or screen.

---

<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:** [September 26, 2021, 12:50pm UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/4 "2021-09-26T12:50:39Z")

</div>

They do have reasons to do it that way, in my opinion.

What if you use a default value for a choice component outside of a form environment, and point to a wrong column, mistakenly delete all the data of that column and overwrite the default value to it? I don’t think many users will be happy with that.

Custom form is a workaround, so you have to use set columns to set default values.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [September 26, 2021, 12:50pm UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/5 "2021-09-26T12:50:49Z")

</div>

Depending on what you’re doing, you can use an if then else column.

If x cell is empty then x value.

---

<div class="post-metadata">

**Author:** ![Jim\_McIntosh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jim_mcintosh/32/19235_2.png) [@Jim\_McIntosh](https://community.glideapps.com/u/Jim_McIntosh)\
**Post date:** [December 23, 2021, 10:11pm UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/6 "2021-12-23T22:11:44Z")

</div>

I think this is a useful and consistent setting to add to the choice component when used as a menu or filter. I have sections of a screen that I show based on the choice and sometimes my users get lost as to why they don’t see the same starting screen (filtered list, etc) when they navigate there. It’s persisted, I understand, but this would be a nice feature if you want the alternate behaviour.

---

<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 24, 2021, 1:42am UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/7 "2021-12-24T01:42:04Z")

</div>

Can you not reset to a default state as part of the navigation action?

---

<div class="post-metadata">

**Author:** ![Hani\_Ibrahim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hani_ibrahim/32/42108_2.png) [@Hani\_Ibrahim](https://community.glideapps.com/u/Hani_Ibrahim)\
**Post date:** [May 1, 2022, 5:52pm UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/8 "2022-05-01T17:52:05Z")

</div>

Choice Component:

1. If you are in Add Form, Then you have Default value.
2. If you are in Edit Form, Then you don’t have Default value.

This is what i just found now. 😀

---

<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:** [May 2, 2022, 12:03am UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/9 "2022-05-02T00:03:57Z")

</div>

Yes, because if you have a default choice for an edit screen then it may adjust your existing choices against your will.

---

<div class="post-metadata">

**Author:** ![Hani\_Ibrahim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hani_ibrahim/32/42108_2.png) [@Hani\_Ibrahim](https://community.glideapps.com/u/Hani_Ibrahim)\
**Post date:** [May 2, 2022, 12:18am UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/10 "2022-05-02T00:18:51Z")

</div>

I am really want to show a choice in a form to be shown to the user but it is not editable, some kind of what called in appsheet “Edit if”. The edit should be based on the user setting role.

I hope i could do that. If you kindly know a way of doing that, would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [May 2, 2022, 12:23am UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/11 "2022-05-02T00:23:17Z")

</div>

The choice component doesn’t work like that. Best you can do in that case is use CSS to make the choice component appear disabled and non-interactive (the CSS is in a rich text that has the “edit if” condition).

For a drop down choice component:

```auto
<pre><span><style> 
[data-test="app-picker-button"] {
    opacity: 20%;
    pointer-events: none;
}

```

---

<div class="post-metadata">

**Author:** ![Hani\_Ibrahim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hani_ibrahim/32/42108_2.png) [@Hani\_Ibrahim](https://community.glideapps.com/u/Hani_Ibrahim)\
**Post date:** [May 2, 2022, 1:51am UTC](https://community.glideapps.com/t/how-to-set-a-specific-value-as-default-value-for-choice/32344/12 "2022-05-02T01:51:29Z")

</div>

Thank you so much for that, i will try to see where can i write these lines.

Appreciate your kind reply and effort. 💚
