# Prompt for Variables Behavior

**URL:** https://www.finalbuilder.com/forums/t/prompt-for-variables-behavior/425
**Category:** Discussion
**Created:** [April 10, 2007, 4:21am UTC](https://www.finalbuilder.com/forums/t/prompt-for-variables-behavior/425 "2007-04-10T04:21:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rel\_beltone](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@rel\_beltone](https://www.finalbuilder.com/forums/u/rel_beltone)
#### Post date: [April 10, 2007, 4:21am UTC](https://www.finalbuilder.com/forums/t/prompt-for-variables-behavior/425/1 "2007-04-10T04:21:05Z")

</div>

I’m using the Prompt for Variables (Enhanced) action in FB 5.0 and having a problem. I prompt for a build number that was created in a previous part of the script. When the dialog pops up I want it to display the current value of the variable so the user can alter it if needed. I put the variable surrounded by %s in the default box in the configuration of the Prompt for Variable actions. When I run the script I see the variable name surrounded by %s, not the value of the variable. When I set the variable to be a macro, the variable is no longer available when I again try to configure the action. Can someone tell me why this is happening?

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [April 11, 2007, 12:58pm UTC](https://www.finalbuilder.com/forums/t/prompt-for-variables-behavior/425/2 "2007-04-11T12:58:22Z")

</div>

Hi Larry,  
  
Make sure that ‘Expand Variables’ is checked on the Prompt for Variables - General Settings tab.  
  
Regards,  
Paul.
