# Empty text box

**URL:** https://forum.kirupa.com/t/empty-text-box/218248
**Category:** flash
**Created:** [March 6, 2007, 4:21am UTC](https://forum.kirupa.com/t/empty-text-box/218248 "2007-03-06T04:21:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![andrewtan2000](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@andrewtan2000](https://forum.kirupa.com/u/andrewtan2000)
#### Post date: [March 6, 2007, 4:21am UTC](https://forum.kirupa.com/t/empty-text-box/218248/1 "2007-03-06T04:21:04Z")

</div>

hi,just wanna ask  
i created textboxes to display data from an xml file but for those unused textboxes,the word “undefined” appears on them  
eg i created 6 textboxes but i only have 2 data to display.the other 4 textboxes displays the word “undefined”  
how to i make the textboxes empty?as in i dont want the word undefined to be on it  
\_root.NoPlate = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;  
\_root.TimeIn = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;  
plate1.text = \_root.NoPlate;  
time1.text = \_root.TimeIn;  
hi,the code above is the declaration for my textbox  
as u can see there isnt any declaration like plate1.text = “unassigned”  
how do i assign an empty string to it?  
do i write it like plate1.text = “” or plate1.text = NULL or something like that?
