# Simple question

**URL:** https://forum.kirupa.com/t/simple-question/282824
**Category:** Uncategorized
**Created:** [February 26, 2009, 8:06pm UTC](https://forum.kirupa.com/t/simple-question/282824 "2009-02-26T20:06:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![outback](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@outback](https://forum.kirupa.com/u/outback)
#### Post date: [February 26, 2009, 8:06pm UTC](https://forum.kirupa.com/t/simple-question/282824/1 "2009-02-26T20:06:17Z")

</div>

Hi all,

I’m having some problems with input text.

II’m using

```auto
 mytext_txt.restrict = "0-9.-" 

```

my only problem is that that the minus sign isn’t working in can type everithing from 0 to 9 (0-9) and dots (.) but no minus sign (-)…

somenone please help!!!

thanks for the attention.
