# Automatically set value to simple text column

**URL:** <https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251>\
**Category:** Ask for Help\
**Created:** [January 16, 2022, 12:20am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251 "2022-01-16T00:20:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![11183](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/11183/32/29797_2.png) [@11183](https://community.glideapps.com/u/11183)\
**Post date:** [January 16, 2022, 12:20am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251/1 "2022-01-16T00:20:55Z")

</div>

I wonder if there’s a way to set value to a simple text column automatically? Like take a returned result from any computed column and put it into a text column without user triggered action.

Use case is — prepopulating selected option in choice component. Eg habit tracking app, where the today’s date in choice chips would be not just displayed but chosen automatically every day. I know, i could do this with tiles layout, but then i should implement some comlex logic to make inline list behave like a choice.

---

<div class="post-metadata">

**Author:** ![11183](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/11183/32/29797_2.png) [@11183](https://community.glideapps.com/u/11183)\
**Post date:** [January 16, 2022, 12:28am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251/2 "2022-01-16T00:28:59Z")

</div>

Here’s my draft screen. 7 choice chips display 7 days including today’s date in the left chip. And I definitely want it to be already «checked» when I’m opening the app.

P.S. If you wonder about CSS magic and dates math presented on the screen I would share with pleasure)

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

---

<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:** [January 16, 2022, 12:38am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251/3 "2022-01-16T00:38:36Z")

</div>

How about a screen that welcomes the user to the app and gives them some content, like a “Quote” or something, then shows a button to reveal the actual content and set the default value to the column you want?

---

<div class="post-metadata">

**Author:** ![11183](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/11183/32/29797_2.png) [@11183](https://community.glideapps.com/u/11183)\
**Post date:** [January 16, 2022, 1:06am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251/4 "2022-01-16T01:06:14Z")

</div>

🤔 Sounds good actually) Great idea, I’ll try, 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:** [January 16, 2022, 1:11am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251/5 "2022-01-16T01:11:28Z")

</div>

> [@ThinhDinh](#):
>
> How about a screen that welcomes the user to the app and gives them some content, like a “Quote” or something, then shows a button to reveal the actual content and set the default value to the column you want?

yep, that’s the way to do it. 👍

---

<div class="post-metadata">

**Author:** ![11183](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/11183/32/29797_2.png) [@11183](https://community.glideapps.com/u/11183)\
**Post date:** [January 16, 2022, 1:14am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251/6 "2022-01-16T01:14:03Z")

</div>

Ok then. Do you guys @ThinhDinh @Darren_Murphy know any open API returning motivational quotes in russian language?)))

---

<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:** [January 16, 2022, 1:22am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251/7 "2022-01-16T01:22:25Z")

</div>

hehe, no.  
I’ll admit that looking for motivational quotes in Russian isn’t something that I do very often.  
If an API for that doesn’t exist, maybe there’s an opportunity for you to create one? 😉

But seriously, the point is that finding a way to get the user to tap something that can have an action attached is the easiest way to set default values for use cases like this. I use this technique all the time (not necessarily with motivational quotes, though 😛 )

---

<div class="post-metadata">

**Author:** ![11183](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/11183/32/29797_2.png) [@11183](https://community.glideapps.com/u/11183)\
**Post date:** [January 16, 2022, 1:34am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251/8 "2022-01-16T01:34:56Z")

</div>

Agree. I use that kind of technique too. But before I always tried to «hide» those actions under some necessary steps like navigation through the catalog or smth. But this is not necessary, it’s just fancy. BUT the «quotes» idea matches good with the app’s general purpose, so i think it’s the best way, indeed.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 17, 2022, 1:35am UTC](https://community.glideapps.com/t/automatically-set-value-to-simple-text-column/37251/9 "2022-01-17T01:35:06Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
