# Anhyone know how to use. textfield.restrict?

**URL:** <https://forum.kirupa.com/t/anhyone-know-how-to-use-textfield-restrict/16415>\
**Category:** Uncategorized\
**Created:** [March 24, 2003, 9:49pm UTC](https://forum.kirupa.com/t/anhyone-know-how-to-use-textfield-restrict/16415 "2003-03-24T21:49:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lastdon](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@lastdon](https://forum.kirupa.com/u/lastdon)\
**Post date:** [March 24, 2003, 9:49pm UTC](https://forum.kirupa.com/t/anhyone-know-how-to-use-textfield-restrict/16415/1 "2003-03-24T21:49:13Z")

</div>

I have a set of numbers

under myLVs.store = store.text

anyway

I want to make this text field 0-9  
so only numbers can be inputed using the restrict command

any clue how to?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2003, 10:31pm UTC](https://forum.kirupa.com/t/anhyone-know-how-to-use-textfield-restrict/16415/2 "2003-03-24T22:31:54Z")

</div>

```auto
myTextField.restrict = "0-9";

```

=)
