# Number Entry: "e" is possible

**URL:** <https://community.glideapps.com/t/number-entry-e-is-possible/11667>\
**Category:** Report a Bug\
**Created:** [June 29, 2020, 11:31am UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667 "2020-06-29T11:31:39Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![AyS\_0908](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ays_0908/32/27349_2.png) [@AyS\_0908](https://community.glideapps.com/u/AyS_0908)\
**Post date:** [June 29, 2020, 11:31am UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/1 "2020-06-29T11:31:40Z")

</div>

Hi, in a “number entry” component, I managed to enter an “e”.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/956d680119bd077060c2457214fd25f8d45f0832.png)

Cheers

---

<div class="post-metadata">

**Author:** ![Tim\_Hayward](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tim_hayward/32/9892_2.png) [@Tim\_Hayward](https://community.glideapps.com/u/Tim_Hayward)\
**Post date:** [June 29, 2020, 5:33pm UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/2 "2020-06-29T17:33:58Z")

</div>

is that because numbers like 1e6 are valid?

---

<div class="post-metadata">

**Author:** ![Yasin\_Hassanien](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yasin_hassanien/32/9042_2.png) [@Yasin\_Hassanien](https://community.glideapps.com/u/Yasin_Hassanien)\
**Post date:** [June 29, 2020, 8:12pm UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/3 "2020-06-29T20:12:27Z")

</div>

No its because Glide is not supporting validation yet

---

<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:** [June 29, 2020, 8:25pm UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/4 "2020-06-29T20:25:41Z")

</div>

When you paste text with an ‘e’ in it along with numbers into a number entry component, it appears to drop the text and only keep the ‘e’ along with numbers. I’m also leaning towards an (e) exponent value as well.

I tried 1e3 to see if it would result in 1000, but instead got 13. The browser’s built in validation for numeric textboxes possibly accounts for exponent values, but it looks like glide throws the char values away.

---

<div class="post-metadata">

**Author:** ![Cmstewart42](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cmstewart42/32/7319_2.png) [@Cmstewart42](https://community.glideapps.com/u/Cmstewart42)\
**Post date:** [June 29, 2020, 10:41pm UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/5 "2020-06-29T22:41:06Z")

</div>

Hi @AyS_0908,

You’ll have to do the validation yourself prior to accepting the submission.

Let me know if you need some help getting started.

---

<div class="post-metadata">

**Author:** ![AyS\_0908](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ays_0908/32/27349_2.png) [@AyS\_0908](https://community.glideapps.com/u/AyS_0908)\
**Post date:** [June 30, 2020, 6:47am UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/6 "2020-06-30T06:47:05Z")

</div>

So, do you think that it is probably a (little) bug?

---

<div class="post-metadata">

**Author:** ![AyS\_0908](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ays_0908/32/27349_2.png) [@AyS\_0908](https://community.glideapps.com/u/AyS_0908)\
**Post date:** [June 30, 2020, 6:48am UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/7 "2020-06-30T06:48:00Z")

</div>

Thanks @Cmstewart42, I had no special issue with this, just checking/informing about a potential little bug

---

<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:** [June 30, 2020, 11:24am UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/8 "2020-06-30T11:24:38Z")

</div>

Maybe, but probably more of a browser spec for numeric entry.

> <https://stackoverflow.com/questions/31706611/why-does-the-html-input-with-type-number-allow-the-letter-e-to-be-entered-in>

[https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#floating-point-numbers](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#floating-point-numbers)

Plus, also consider that on many devices, at least Android anyway, the only keyboard that shows up for numeric entry is the number pad. In my case, the only way to enter an e is via copy/paste and it just be prior to any numbers, otherwise it’s thrown out. There are other rules, but it depends on the HTML spec for numeric entry.

---

<div class="post-metadata">

**Author:** ![NFNHello](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nfnhello/32/3371_2.png) [@NFNHello](https://community.glideapps.com/u/NFNHello)\
**Post date:** [September 7, 2020, 2:30pm UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/9 "2020-09-07T14:30:35Z")

</div>

I’m able to enter any letter or character in the Number Entry field when using from my iPhone.

BUT I cannot enter letters or symbols when using the browser, i.e., the Number Entry field only allows numbers when using a computer, but doesn’t when using an iPhone.

I’ve also found that this field type allows for empty submissions when the field is required.

> [@Submit with blank form required field](https://community.glideapps.com/t/submit-with-blank-form-required-field/14455):
>
> I have a form with a number entry (required) and text entry (optional) visible to the user. If the user enters text in the text field, they are able to submit the form with a blank number entry field. P.S. Isn’t glide the best? I mean, what?, you can build an app with no code?! Seriously team glide, rock on. xoxo

---

<div class="post-metadata">

**Author:** ![Matt\_Friesen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/matt_friesen/32/2388_2.png) [@Matt\_Friesen](https://community.glideapps.com/u/Matt_Friesen)\
**Post date:** [November 1, 2023, 6:18pm UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/10 "2023-11-01T18:18:38Z")

</div>

I also have this problem. iphone users are able to enter text into a number entry field. Then if they submit a form with this, that entry comes through as a blank. Android does not allow the text keyboard to come up (for number entry), which is great.

---

<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:** [November 2, 2023, 4:57am UTC](https://community.glideapps.com/t/number-entry-e-is-possible/11667/11 "2023-11-02T04:57:49Z")

</div>

Yes, as Jeff pointed out earlier in this thread that’s probably down to specific browser behaviour, which we can’t control.

If you need more robust data validation then the best way is to use a custom form and roll your own validation rules.
