# No default value in text component

**URL:** https://community.glideapps.com/t/no-default-value-in-text-component/75091
**Category:** Ask for Help
**Created:** [July 22, 2024, 10:47pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091 "2024-07-22T22:47:57Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)
#### Post date: [July 22, 2024, 10:47pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/1 "2024-07-22T22:47:57Z")

</div>

I have a text component but it is not giving me the option to insert a default value.

Any idea why this may be happening

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/d/1d8b835520c962b281d1a4032b842cbc83c8431b.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 22, 2024, 10:49pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/2 "2024-07-22T22:49:38Z")

</div>

Is this within a form or on a detail screen?

---

<div class="post-metadata">

### Author: ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)
#### Post date: [July 22, 2024, 11:21pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/3 "2024-07-22T23:21:23Z")

</div>

detail screen

---

<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 22, 2024, 11:23pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/4 "2024-07-22T23:23:37Z")

</div>

On a detail screen you won’t have a default because it pulls whatever value is in the column in that row. Even if it’s empty.

If you want to set a default on a detail screen, you would have to do it with actions on the way into the screen.

---

<div class="post-metadata">

### Author: ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)
#### Post date: [July 22, 2024, 11:26pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/5 "2024-07-22T23:26:19Z")

</div>

Its the main screen (landing screen). I am sending people to it directly.

I can do it when they press submit, but that means I know need to created multiple (8 so far) actions where the only difference would be this one field.

Also I am not seeing a way to create a copy of an action, is that possible ?

---

<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 22, 2024, 11:27pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/6 "2024-07-22T23:27:50Z")

</div>

Could you use a form container on the detail screen instead, or does your custom form have some calculations that can’t be done within a form?

---

<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 22, 2024, 11:28pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/7 "2024-07-22T23:28:51Z")

</div>

To copy an action you either duplicate the component with that action, or go into the action editor and duplicate an existing action there.

---

<div class="post-metadata">

### Author: ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)
#### Post date: [July 22, 2024, 11:30pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/8 "2024-07-22T23:30:05Z")

</div>

I am using a container. What are you thinking ?

---

<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 22, 2024, 11:32pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/9 "2024-07-22T23:32:13Z")

</div>

A ‘container’ or a ‘form container’? A form container is a regular form embedded within a detail screen instead of a separate form screen.

---

<div class="post-metadata">

### Author: ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)
#### Post date: [July 22, 2024, 11:33pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/10 "2024-07-22T23:33:38Z")

</div>

A container in 1:1 setup to give me 2 columns. not a form container.

---

<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 22, 2024, 11:34pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/11 "2024-07-22T23:34:17Z")

</div>

Try the form container and see if that fits your needs. Just treat it like a normal form screen.

Only downside is that you won’t have the separate container column layout. It’s all top down with the form container.

---

<div class="post-metadata">

### Author: ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)
#### Post date: [July 22, 2024, 11:36pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/12 "2024-07-22T23:36:19Z")

</div>

Form container will not work for me, as I need the 2 column layout, and you can put a form container into a container. I am not too confident with CSS to try that.

I think I may just duplicate the actions and do it that way.

---

<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 22, 2024, 11:39pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/13 "2024-07-22T23:39:05Z")

</div>

Yeah, you’ll have to get a little creative then. So is this one field an entry component that a user can change to something other than the default, or is it a behind the scenes thing?

---

<div class="post-metadata">

### Author: ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)
#### Post date: [July 22, 2024, 11:42pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/14 "2024-07-22T23:42:38Z")

</div>

User cannot change, it is behind the scenes. What I actually did was create 1 landing page, with a custom form.

I then duplicated this form multiple times to create different landing pages, but the form for each of these landing pages is collecting the basic info and putting it into one table.

I need to track which page the information is being collected from. So what I wanted to do was put in a INPUT TEXT component (make it invisible) and custom set the value on each of the landing pages.

---

<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 22, 2024, 11:47pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/15 "2024-07-22T23:47:14Z")

</div>

Couple thoughts off the top of my head.

- Use one screen layout (form), but have separate rows for each “form”. Each row would have that one value already set. Then share the url for each row separately. There’s ways to prevent the user from getting to other forms.
- Or, add a query parameter to the url, use the Get Part of URL column to retrieve that parameter, and then pass that through the form.

---

<div class="post-metadata">

### Author: ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)
#### Post date: [July 22, 2024, 11:57pm UTC](https://community.glideapps.com/t/no-default-value-in-text-component/75091/16 "2024-07-22T23:57:10Z")

</div>

🙂 interesting

The first one is a very novel way of doing this.

Thanks I will play around with thse.
