# Text Entry and Number Entry component

**URL:** https://community.glideapps.com/t/text-entry-and-number-entry-component/73599
**Category:** Ask for Help
**Created:** [May 23, 2024, 1:11pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599 "2024-05-23T13:11:43Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Kemal1973](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kemal1973/32/72721_2.png) [@Kemal1973](https://community.glideapps.com/u/Kemal1973)
#### Post date: [May 23, 2024, 1:11pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/1 "2024-05-23T13:11:43Z")

</div>

Hi,I have 3 questions  
1-I want to prevent that users couldn’t be able to enter number(e.g. cellphone number) into a based on text field in a Form  
2-when users want to enter a price into Number Entry,they could be able to view price with group separate during typing(e.g. $12,000)  
3-My Users will be personal(they will use a gmail,yahoo,…)and not a firm.So in this case is the Maker Plan suitable for me?  
Thank you for helping me

---

<div class="post-metadata">

### Author: ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)
#### Post date: [May 23, 2024, 1:51pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/2 "2024-05-23T13:51:25Z")

</div>

> [@Kemal1973](#):
>
> 3-My Users will be personal(they will use a gmail,yahoo,…)and not a firm.So in this case is the Maker Plan suitable for me?

Yes. So which plan is your question directed towards? Through a paid plan, you can use a native form with CSS features or vice versa, you can only use a custom form to prevent it.

---

<div class="post-metadata">

### Author: ![Kemal1973](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kemal1973/32/72721_2.png) [@Kemal1973](https://community.glideapps.com/u/Kemal1973)
#### Post date: [May 23, 2024, 2:07pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/3 "2024-05-23T14:07:37Z")

</div>

I only can upgrade to Maker Plan because of unlimited user number.My app will have more users(maybe +1K)

---

<div class="post-metadata">

### Author: ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)
#### Post date: [May 23, 2024, 2:18pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/4 "2024-05-23T14:18:42Z")

</div>

That should be enough. Have you read all the features? ~~Using native forms will reduce your update usage.~~

I don’t emphasize enough that the number of updates in the maker plan is calculated if it is related to sync with other parties, for example g. sheets

---

<div class="post-metadata">

### Author: ![ghostmaga](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@ghostmaga](https://community.glideapps.com/u/ghostmaga)
#### Post date: [May 23, 2024, 2:51pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/5 "2024-05-23T14:51:15Z")

</div>

> 1-I want to prevent that users couldn’t be able to enter number(e.g. cellphone number) into a based on text field in a Form

You can add a JavaScript column that returns True if text contains any digit and make, for example, continue button visible only when that column is False. In advance, add a hint to let user know to do not include numbers. Hope it will help

---

<div class="post-metadata">

### Author: ![Kemal1973](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kemal1973/32/72721_2.png) [@Kemal1973](https://community.glideapps.com/u/Kemal1973)
#### Post date: [May 23, 2024, 6:59pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/6 "2024-05-23T18:59:14Z")

</div>

thank you that was very helpful but I don’t know Javascript 😕

---

<div class="post-metadata">

### Author: ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)
#### Post date: [May 23, 2024, 7:15pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/7 "2024-05-23T19:15:33Z")

</div>

> [@Kemal1973](#):
>
> prevent that users couldn’t be able to enter number

Do you want to limit it to all numbers, only contain all alphabets or can it contain alpha numeric?

---

<div class="post-metadata">

### Author: ![Kemal1973](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kemal1973/32/72721_2.png) [@Kemal1973](https://community.glideapps.com/u/Kemal1973)
#### Post date: [May 23, 2024, 7:20pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/8 "2024-05-23T19:20:07Z")

</div>

> [@Himaladin](#):
>
> Do you want to limit it to all numbers, only contain all alphabets or can it contain alpha numeric?

only numbers 0~9

---

<div class="post-metadata">

### Author: ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)
#### Post date: [May 23, 2024, 7:30pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/9 "2024-05-23T19:30:13Z")

</div>

> [@Himaladin](#):
>
> Using native forms will reduce your update usage.

FYI in the maker plan is unlimited updates when using glide tables. In the case of a custom form writing to a glide table it’s unlimited updates.

If I understand correctly the 500 updates are for external sources, webhooks, etc…

---

<div class="post-metadata">

### Author: ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)
#### Post date: [May 23, 2024, 7:31pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/10 "2024-05-23T19:31:25Z")

</div>

You write it in the javascript column, and for p1 point to your input column.  
If you use a custom form, you should have a usc column. If not then this will still be input even though you already have this javascript column.

```auto
function containsNumeric(p1) {
  const numericPattern = /\d/;
  return numericPattern.test(p1);
}

return(containsNumeric(p1)); 

```

---

<div class="post-metadata">

### Author: ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)
#### Post date: [May 23, 2024, 7:50pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/11 "2024-05-23T19:50:43Z")

</div>

> [@Kemal1973](#):
>
> 2-when users want to enter a price into Number Entry,they could be able to view price with group separate during typing(e.g. $12,000)

For this case, if you use a custom form, you can use the set column value action on the submit button, rather than asking the user to input the same thing and risk making mistakes.

---

<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: [May 30, 2024, 7:51pm UTC](https://community.glideapps.com/t/text-entry-and-number-entry-component/73599/12 "2024-05-30T19:51:28Z")

</div>

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