# Value should be a number but right now it is text? Input form is selected as numbers only

**URL:** <https://forum.bubble.io/t/value-should-be-a-number-but-right-now-it-is-text-input-form-is-selected-as-numbers-only/16229>\
**Category:** Need help\
**Created:** [August 4, 2017, 2:44pm UTC](https://forum.bubble.io/t/value-should-be-a-number-but-right-now-it-is-text-input-form-is-selected-as-numbers-only/16229 "2017-08-04T14:44:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayushsharmamedia](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ayushsharmamedia/32/14804_2.png) [@ayushsharmamedia](https://forum.bubble.io/u/ayushsharmamedia)\
**Post date:** [August 4, 2017, 2:44pm UTC](https://forum.bubble.io/t/value-should-be-a-number-but-right-now-it-is-text-input-form-is-selected-as-numbers-only/16229/1 "2017-08-04T14:44:18Z")

</div>

Hey so the number input element is set to input to numbers only and the database is expecting number, so why is the error showing?

What is the solution for this?

---

<div class="post-metadata">

**Author:** ![andrewgassen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewgassen/32/44248_2.png) [@andrewgassen](https://forum.bubble.io/u/andrewgassen)\
**Post date:** [August 4, 2017, 2:50pm UTC](https://forum.bubble.io/t/value-should-be-a-number-but-right-now-it-is-text-input-form-is-selected-as-numbers-only/16229/2 "2017-08-04T14:50:10Z")

</div>

Can you share a link to your editor? It’s tough to diagnose these things without seeing how you’ve it built. Thanks!

---

<div class="post-metadata">

**Author:** ![romanmg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/romanmg/32/237672_2.png) [@romanmg](https://forum.bubble.io/u/romanmg)\
**Post date:** [August 4, 2017, 6:08pm UTC](https://forum.bubble.io/t/value-should-be-a-number-but-right-now-it-is-text-input-form-is-selected-as-numbers-only/16229/3 "2017-08-04T18:08:45Z")

</div>

Do you mean the input is set to “text (numbers only)” because that’s actually still a text. If the database field is set to number, then you’ll want the input content type to be integer, decimal, currency, or percentage.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [October 13, 2017, 2:44pm UTC](https://forum.bubble.io/t/value-should-be-a-number-but-right-now-it-is-text-input-form-is-selected-as-numbers-only/16229/4 "2017-10-13T14:44:19Z")

</div>

This topic was automatically closed after 70 days. New replies are no longer allowed.
