# Adding a Name Component

**URL:** https://community.glideapps.com/t/adding-a-name-component/24162
**Category:** Ask for Help
**Created:** [March 12, 2021, 3:28pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162 "2021-03-12T15:28:24Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [March 12, 2021, 3:28pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/1 "2021-03-12T15:28:24Z")

</div>

Hi!

I added a text input component as space for a user to add their name. When I type one letter it closes and sticks to that letter. Is there something I should be doing so someone can actually type out a name? Also recommendations on how I can make it editable?

![name](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/4/84969478a652751f29f8fa91ea8684b1f1c6f6cb.png)

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: [March 12, 2021, 3:30pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/2 "2021-03-12T15:30:22Z")

</div>

Is there at least one row (apart from the header) in the table it is writing to?

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [March 12, 2021, 3:31pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/3 "2021-03-12T15:31:34Z")

</div>

Yes I have a name column. This is located on the user profile screen.

---

<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: [March 12, 2021, 3:32pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/4 "2021-03-12T15:32:32Z")

</div>

Yes, but is there a _row_ with data in it?

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [March 12, 2021, 3:33pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/5 "2021-03-12T15:33:58Z")

</div>

![name1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/2/52c9526f1bdedbe0a7ba775f2a0d4cfc56cb2525.png)

---

<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: [March 12, 2021, 3:39pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/6 "2021-03-12T15:39:09Z")

</div>

It’s definitely targeted at the name column, yes?  
And you’re viewing it as yourself?  
I ask because based on your second screen shot, I would have expected your name (Jen) to be showing in the first screenshot.

Also…

> [@Jen\_NYCP](#):
>
> When I type one letter it closes and sticks to that letter.

That’s a bit confusing… can you elaborate a bit?

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [March 12, 2021, 3:47pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/7 "2021-03-12T15:47:04Z")

</div>

I can only type one letter. If I try to type more I can’t. It takes that one letter and that’s my name.

---

<div class="post-metadata">

### Author: ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)
#### Post date: [March 12, 2021, 4:10pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/8 "2021-03-12T16:10:31Z")

</div>

Is it only set to be visible if it is empty?

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [March 12, 2021, 4:11pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/9 "2021-03-12T16:11:58Z")

</div>

Ah yes, I put it like that so the component doesn’t show if someone entered their name already. Is there a better way to do it?

---

<div class="post-metadata">

### Author: ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)
#### Post date: [March 12, 2021, 4:14pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/10 "2021-03-12T16:14:47Z")

</div>

If you’re doing it as a direct edit on an existing cell (not through a form button), then the values goes straight to the sheet and it’s seen as “not empty” after the first letter.

What I do for this sort of thing is that I still show the field, even if it’s filled, so that people can update it if it’s necessary. I set a minimum number of characters (usually about 3 to be safe for most names), then the “save” button or whatever other fields are below are only shown when the name field is filled.

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [March 12, 2021, 4:19pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/11 "2021-03-12T16:19:36Z")

</div>

Oh ok, yes I was thinking how they would ‘submit it’. This is only field I am asking for them to enter. Maybe I can have a button bar with one side ‘edit’ and other ‘save’?

I will try this. Thanks!

---

<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: [March 12, 2021, 4:21pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/12 "2021-03-12T16:21:27Z")

</div>

If you only want the input component to show when the name is empty, then you could set the component to write to a user specific column. But then you would need to add a submit button with an action that saves the new name by using a Set Columns action. Otherwise, Kyle’s suggestion is probably best.

---

<div class="post-metadata">

### Author: ![Jen\_NYCP](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jen\_NYCP](https://community.glideapps.com/u/Jen_NYCP)
#### Post date: [March 12, 2021, 5:56pm UTC](https://community.glideapps.com/t/adding-a-name-component/24162/13 "2021-03-12T17:56:51Z")

</div>

Will look into this too. Thanks Darren!
