# Multiple createTextField

**URL:** <https://forum.kirupa.com/t/multiple-createtextfield/238>\
**Category:** Uncategorized\
**Created:** [July 10, 2002, 8:52pm UTC](https://forum.kirupa.com/t/multiple-createtextfield/238 "2002-07-10T20:52:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ljmin](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@ljmin](https://forum.kirupa.com/u/ljmin)\
**Post date:** [July 10, 2002, 8:52pm UTC](https://forum.kirupa.com/t/multiple-createtextfield/238/1 "2002-07-10T20:52:23Z")

</div>

Hi,

I’m trying to dynamically create some textboxes, but having trouble creating more than one. I have:

createTextField(“hh”,0,PlotLeft, 150 ,50,50);  
createTextField(“h2”,0,5, 50 ,50,50);

h2.text = “hello”;  
hh.text = “hi”;

Anybody have any suggestions?

-Lloyd

---

<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:** [July 10, 2002, 10:35pm UTC](https://forum.kirupa.com/t/multiple-createtextfield/238/2 "2002-07-10T22:35:34Z")

</div>

the second argument is the level in which they’re created. if you create an object on a level which already contains an object, it will overwrite it.

only one object per level.
