# Using a variable in a CreateTextField

**URL:** <https://forum.kirupa.com/t/using-a-variable-in-a-createtextfield/237248>\
**Category:** flash\
**Created:** [August 28, 2007, 4:07pm UTC](https://forum.kirupa.com/t/using-a-variable-in-a-createtextfield/237248 "2007-08-28T16:07:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![praxiz](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@praxiz](https://forum.kirupa.com/u/praxiz)\
**Post date:** [August 28, 2007, 4:07pm UTC](https://forum.kirupa.com/t/using-a-variable-in-a-createtextfield/237248/1 "2007-08-28T16:07:37Z")

</div>

```auto

    var boxtitle = ("textfield" + counter); 
    createTextField(boxtitle, 20, 30, 30, 500, 70); 

```

Why doesn’t this work?
