# Variable name autocomplete

**URL:** https://www.finalbuilder.com/forums/t/variable-name-autocomplete/2823
**Category:** Bugs
**Created:** [May 2, 2007, 8:08am UTC](https://www.finalbuilder.com/forums/t/variable-name-autocomplete/2823 "2007-05-02T08:08:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [May 2, 2007, 8:08am UTC](https://www.finalbuilder.com/forums/t/variable-name-autocomplete/2823/1 "2007-05-02T08:08:39Z")

</div>

I know this one is hard to get right, so I’m not complaining too much. Anyway, there’s an annoying bug in how the autocomplete works.  
  
1) Enter “quick brown lazy fox and lots of important text ending in a %variable%” into a text field somewhere  
2) Between “quick” and “brown” add a couple of spaces, and in the middle, start typing the name of an existing variable: "quick %COMP&nbsp; brown lazy…"  
3) From the drop down list, select COMPUTERNAME  
4) The text field now erases all text leading up to the next %:&nbsp; "quick %COMPUTERNAME%variable%"  
  
I get the feeling this changed recently, as previously adding spaces then editing within there was a pretty safe way to use autocomplete.  
  
Steve

---

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [May 2, 2007, 8:10am UTC](https://www.finalbuilder.com/forums/t/variable-name-autocomplete/2823/2 "2007-05-02T08:10:01Z")

</div>

More weirdness. If you manually type out the variable %COMPUTERNAME% instead of selecting it from the autocomplete in the above scenario, you will end up with an error: "Variable : brown does not exist!"  
  
Good luck 🙂  
  
Steve

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [May 2, 2007, 8:11am UTC](https://www.finalbuilder.com/forums/t/variable-name-autocomplete/2823/3 "2007-05-02T08:11:06Z")

</div>

Hi Steve,  
  
Thanks. I know Vincent has done some work on this recently (he’s currently at CeBIT Australia.) Which build of FB are you using?  
  
- Angus

---

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [May 2, 2007, 8:29am UTC](https://www.finalbuilder.com/forums/t/variable-name-autocomplete/2823/4 "2007-05-02T08:29:17Z")

</div>

201.  
  
Steve
