# Formatted Text Field

**URL:** <https://forum.inductiveautomation.com/t/formatted-text-field/28876>\
**Category:** Ignition\
**Created:** [October 7, 2019, 12:51pm UTC](https://forum.inductiveautomation.com/t/formatted-text-field/28876 "2019-10-07T12:51:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![winbetho](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@winbetho](https://forum.inductiveautomation.com/u/winbetho)\
**Post date:** [October 7, 2019, 12:51pm UTC](https://forum.inductiveautomation.com/t/formatted-text-field/28876/1 "2019-10-07T12:51:33Z")

</div>

Is there any help for the regex rules used by this component. I have tried some regex expressions on some internet sites as a lab but they wont work in the component.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [October 7, 2019, 2:31pm UTC](https://forum.inductiveautomation.com/t/formatted-text-field/28876/2 "2019-10-07T14:31:14Z")

</div>

Can you post a screen shot of what you’ve tried (or trying to do)?

Docs for the component:  
[https://docs.inductiveautomation.com/display/DOC79/Formatted+Text+Field](https://docs.inductiveautomation.com/display/DOC79/Formatted+Text+Field)

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [October 7, 2019, 11:01pm UTC](https://forum.inductiveautomation.com/t/formatted-text-field/28876/3 "2019-10-07T23:01:48Z")

</div>

Check out this post, it was helpful for me...

> [@Restrict text input](http://forum.inductiveautomation.com/t/restrict-text-input/27582):
>
> Curious the best way to go about this. I want to restrict a text input to a specific length, must be 6 characters (no more, no less), and each position is restricted to certain characters. For example, the first position can only have C,E,F,G,V. The 2nd-6th will have similar restrictions. I’m assuming I will use the key press event? Anyone have any additional tips or help? Thanks in advance.
