# Dynamic text + eval()?

**URL:** <https://forum.kirupa.com/t/dynamic-text-eval/258132>\
**Category:** Uncategorized\
**Created:** [April 21, 2008, 9:58am UTC](https://forum.kirupa.com/t/dynamic-text-eval/258132 "2008-04-21T09:58:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Urme](https://avatars.discourse-cdn.com/v4/letter/u/f1d935/32.png) [@Urme](https://forum.kirupa.com/u/Urme)\
**Post date:** [April 21, 2008, 9:58am UTC](https://forum.kirupa.com/t/dynamic-text-eval/258132/1 "2008-04-21T09:58:49Z")

</div>

Hi,

I’m trying to give a dynamic textfield a value, actually I have 10 dynamic textfields that are named like this: mytextfield1, mytextfield2 etc etc

this is the code:

```auto

for(i=0; i<10; i++) {
this["mytextfield"+i].text = myvariable*;
}

```

This doesn’t work, can anyone help me get this working? 🙂  
I’m clueless atm 🙂
