# \[IGN-15124\] Ignition 8.3 Forms: Showing Decimals in Form Input Fields

**URL:** <https://forum.inductiveautomation.com/t/ign-15124-ignition-8-3-forms-showing-decimals-in-form-input-fields/111980>\
**Category:** Ignition\
**Tags:** perspective, ignition83\
**Created:** [November 6, 2025, 2:25am UTC](https://forum.inductiveautomation.com/t/ign-15124-ignition-8-3-forms-showing-decimals-in-form-input-fields/111980 "2025-11-06T02:25:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tburgess](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tburgess/32/67018_2.png) [@Tburgess](https://forum.inductiveautomation.com/u/Tburgess)\
**Post date:** [November 6, 2025, 2:25am UTC](https://forum.inductiveautomation.com/t/ign-15124-ignition-8-3-forms-showing-decimals-in-form-input-fields/111980/1 "2025-11-06T02:25:27Z")

</div>

Howdy!

I have another question about the form component. Whenever a decimal is inputed into my number field like so:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/f/bfffe67d9bc85bbe2f5c54b48de0955b61bd5926.png)

It shows up as red. Is there a way to change this?

---

<div class="post-metadata">

**Author:** ![JVDM](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@JVDM](https://forum.inductiveautomation.com/u/JVDM)\
**Post date:** [November 6, 2025, 8:10am UTC](https://forum.inductiveautomation.com/t/ign-15124-ignition-8-3-forms-showing-decimals-in-form-input-fields/111980/2 "2025-11-06T08:10:38Z")

</div>

My first guess would be to change the period with a comma, due to e.g. regional settings.

Looking at [the documentation of the form component](https://www.docs.inductiveautomation.com/docs/8.3/appendix/components/perspective-components/perspective-input-palette/perspective-form), my second guess is the constraints not allowing you to input anything other than a number, like in the documentation example:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/2/427942ac59a24b8f55e1e13d42eb28b6b309635f.png)

---

<div class="post-metadata">

**Author:** ![Tburgess](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tburgess/32/67018_2.png) [@Tburgess](https://forum.inductiveautomation.com/u/Tburgess)\
**Post date:** [November 6, 2025, 8:33am UTC](https://forum.inductiveautomation.com/t/ign-15124-ignition-8-3-forms-showing-decimals-in-form-input-fields/111980/3 "2025-11-06T08:33:24Z")

</div>

Thanks for the reply!

When I have the type set to number, I can’t even input a comma into the field. I looked at the documentation, and tried to set my own validation pattern in the constraint property by changing the type to text and changing the regex pattern to this:

```

```python
/^[+-]?\d+(\.\d+)?$/

```

But when I enter anything into the input field it doesn’t even seem to check the validation pattern and lets anything go through. Kinda at a loss at what to do next.

---

<div class="post-metadata">

**Author:** ![JVDM](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@JVDM](https://forum.inductiveautomation.com/u/JVDM)\
**Post date:** [November 6, 2025, 9:02am UTC](https://forum.inductiveautomation.com/t/ign-15124-ignition-8-3-forms-showing-decimals-in-form-input-fields/111980/4 "2025-11-06T09:02:02Z")

</div>

Edit: Just after i posted, you say the red outline occurs when inputting a decimal. Is it possible the field is set as an integer and for that reason doesn’t accept decimals? If you could set this as a float, should accept decimals.

* * *

That is curious indeed. Just to be sure, were the two property values above the pattern enabled? These should be “validation.constraints.required.enabled” and “validation.constraints.pattern.enabled”.

Secondly, in the property editor, does the text property show an error there? This should be indicated by a small red warning sign all the way on the right end of the property row. If so, this error might indicate what the issue is.

Thirdly, in my mind the outline turns red because the input is causing an error on the component. Is there any chance the red outline is a style, and I’m trying to tackle something that isn’t an error?

Have you tried using the submit button in preview mode and seeing whether it lets you submit a form at all? Or maybe, a pop-up with an error message shows up?

---

<div class="post-metadata">

**Author:** ![pamato](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@pamato](https://forum.inductiveautomation.com/u/pamato)\
**Post date:** [November 6, 2025, 7:15pm UTC](https://forum.inductiveautomation.com/t/ign-15124-ignition-8-3-forms-showing-decimals-in-form-input-fields/111980/5 "2025-11-06T19:15:29Z")

</div>

@Tburgess, the solution should be setting the `step` constraint to `any`. However, it looks like there is a small issue with that scenario (I’ll file an issue report for that). In the meantime, try the following `pattern` constraint for a `text` widget (the forward slashes are not necessary):

`^\d+(.\d+)?$`

---

<div class="post-metadata">

**Author:** ![pamato](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@pamato](https://forum.inductiveautomation.com/u/pamato)\
**Post date:** [February 20, 2026, 4:14pm UTC](https://forum.inductiveautomation.com/t/ign-15124-ignition-8-3-forms-showing-decimals-in-form-input-fields/111980/6 "2026-02-20T16:14:34Z")

</div>

This issue has been fixed in the 8.3.4 release.
