# Need to make sure text or numbers are entered in components

**URL:** <https://forum.inductiveautomation.com/t/need-to-make-sure-text-or-numbers-are-entered-in-components/79441>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [September 21, 2023, 9:24am UTC](https://forum.inductiveautomation.com/t/need-to-make-sure-text-or-numbers-are-entered-in-components/79441 "2023-09-21T09:24:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 21, 2023, 9:40am UTC](https://forum.inductiveautomation.com/t/need-to-make-sure-text-or-numbers-are-entered-in-components/79441/5 "2023-09-21T09:40:02Z")

</div>

> so my requirement is if a user try to type alphanumeric values or numbers ...

Numbers are alphanumeric.

> ... I need a togglepopup to be opened stating "Only strings are allowed" so that user can know only strings are allowed.

Everything you can type is a string so that prompt wouldn't help anyone.

Anyway, don't do that. Use standard web interface so that your application works as the users expect. For example,

- Set the border of each text field to red and change to black when the field has correct data type in it.
- Use a tooltip to explain the input requirements.
- Disable Confirm Order until all the fields pass the data validation criteria.

---

_[View the full topic](https://forum.inductiveautomation.com/t/need-to-make-sure-text-or-numbers-are-entered-in-components/79441)._
