# An inputfield doesn't work

**URL:** <https://forum.kirupa.com/t/an-inputfield-doesnt-work/208511>\
**Category:** Uncategorized\
**Created:** [November 29, 2006, 3:32pm UTC](https://forum.kirupa.com/t/an-inputfield-doesnt-work/208511 "2006-11-29T15:32:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lefonk](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@lefonk](https://forum.kirupa.com/u/lefonk)\
**Post date:** [November 29, 2006, 3:32pm UTC](https://forum.kirupa.com/t/an-inputfield-doesnt-work/208511/1 "2006-11-29T15:32:00Z")

</div>

Hi all,  
First the situation.  
-I have an inputfield (input)  
-submitbutton (button)  
-and a textfield (tekstVeld)

what i want:  
fill in a number-\>press button-\> (number_1) (number_2)… etc.  
for example:  
6-\>press button-\>0,6,12,18,24,30,36,42,48,54,60

```auto

var tafel:Array = new Array();
for (i=0; i<11; i++) {
    tafel* = i* Number(input.text);
}
button.onPress = function() {
    tekstVeld.text = (tafel);
};

```

That doesn’t work.  
But i when i change _Number(input.text);_ to _Number(6);_ for an example it works.  
But i want an number by input!!

What’s wrong??
