# Random Default Value in Choice Component

**URL:** <https://community.glideapps.com/t/random-default-value-in-choice-component/18197>\
**Category:** Ask for Help\
**Created:** [November 10, 2020, 11:48am UTC](https://community.glideapps.com/t/random-default-value-in-choice-component/18197 "2020-11-10T11:48:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pratik\_Shah](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pratik_shah/32/12416_2.png) [@Pratik\_Shah](https://community.glideapps.com/u/Pratik_Shah)\
**Post date:** [November 10, 2020, 11:48am UTC](https://community.glideapps.com/t/random-default-value-in-choice-component/18197/1 "2020-11-10T11:48:25Z")

</div>

Hello @Robert_Petitto @ThinhDinh @Jeff_Hager,

In one of my Form, user need to select Colour (out of total 5 colours).

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/8/68b5c2a2fb86d44f951c00ef1c6915c733f8f5ba.png)

I want to show a default value. However, instead of specific value, I want this “default value” to randomly change everytime.

Any possibility?

---

<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:** [November 10, 2020, 11:58am UTC](https://community.glideapps.com/t/random-default-value-in-choice-component/18197/2 "2020-11-10T11:58:01Z")

</div>

Probably you can use a single value column to pull a random value from the choices and set it as the default value. Would it work?

---

<div class="post-metadata">

**Author:** ![Pratik\_Shah](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pratik_shah/32/12416_2.png) [@Pratik\_Shah](https://community.glideapps.com/u/Pratik_Shah)\
**Post date:** [November 10, 2020, 12:05pm UTC](https://community.glideapps.com/t/random-default-value-in-choice-component/18197/3 "2020-11-10T12:05:06Z")

</div>

Thanks @ThinhDinh This worked.

You guys are genius.
