# How to Prevent Text Field from Converting "kPa" to Uppercase in Ignition Perspective

**URL:** <https://forum.inductiveautomation.com/t/how-to-prevent-text-field-from-converting-kpa-to-uppercase-in-ignition-perspective/103412>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [March 8, 2025, 11:47am UTC](https://forum.inductiveautomation.com/t/how-to-prevent-text-field-from-converting-kpa-to-uppercase-in-ignition-perspective/103412 "2025-03-08T11:47:22Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [March 9, 2025, 2:28am UTC](https://forum.inductiveautomation.com/t/how-to-prevent-text-field-from-converting-kpa-to-uppercase-in-ignition-perspective/103412/8 "2025-03-09T02:28:18Z")

</div>

See [[BUG-5618] Perspective format transform with numeric pattern, text being capitalized by default](https://forum.inductiveautomation.com/t/bug-5618-perspective-format-transform-with-numeric-pattern-text-being-capitalized-by-default/56433) for a previous discussion on this topic / problem.

However, the big problem is that a Text Field component has no idea about numeric values and restrictions on legal characters. That means that  
`105.32 kPa`  
`105 .32 kPa`  
`10.5.32 kPa`  
`105.32kPa`  
`105,32 kPa`  
would all be accepted.

The Numeric Entry Field component

- will only accept numbers and the decimal separator.
- has a spinner option.
- has input bounds.
- has a built-in format option.
- three mode options.
- an invalid-entry style option (e.g. red-border if you go out of range).
- will align numbers to the right (although this can be overridden).

But the real deal is that your method is creating a string that can't be output back to a numeric tag type. Also, visually, displaying the units in an editable field suggests that they can be edited. I don't know why the other software you refer to would support this.

 ![Numeric text fields](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/2/42e93dd471bc7972594c35891e45ad7b044d4376.png)

_Finally - it just looks right!_

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-prevent-text-field-from-converting-kpa-to-uppercase-in-ignition-perspective/103412)._
