# \<value>

## \<value> <a href="#value" id="value"></a>

The `<value>` element is used to insert the value of an expression into a prompt.

### Attributes

<table><thead><tr><th width="174.33333333333331">Name</th><th width="162">Data type<select><option value="c106065819cc46539d33f735d5305f76" label="String" color="blue"></option><option value="4b25009268a343458eec1a9254b8cc0f" label="Integer" color="blue"></option><option value="03733e05bb6e4d4cb6feed96d1714c4a" label="Boolean" color="blue"></option></select></th><th>Description</th></tr></thead><tbody><tr><td>expr</td><td><span data-option="c106065819cc46539d33f735d5305f76">String</span></td><td>The expression to render.</td></tr></tbody></table>

### Notes

None

### Example

```markup
<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <var name="test_var"/>
    <block>
      <assign name="test_var" expr="1234"/>
    </block>
    <block>
      <prompt>
        The test variable is set to <value expr="test_var"/>.
      </prompt>
    </block>
  </form>
</vxml>
```

The output of the above script would be:

> Computer: The test variable is set to twelve hundred thirty-four.

### Child Tags

None

### Parent Tags

[\<audio>](https://docs.plumvoice.com/dev/voicexml/tags/audio-tag), [\<block>](https://docs.plumvoice.com/dev/voicexml/tags/block-tag), [\<catch>](https://docs.plumvoice.com/dev/voicexml/tags/catch-tag), [\<emphasis>](https://docs.plumvoice.com/dev/voicexml/tags/emphasis-tag), [\<enumerate>](https://docs.plumvoice.com/dev/voicexml/tags/enumerate-tag), [\<error>](https://docs.plumvoice.com/dev/voicexml/tags/error-tag), [\<field>](https://docs.plumvoice.com/dev/voicexml/tags/field-tag), [\<filled>](https://docs.plumvoice.com/dev/voicexml/tags/filled-tag), [\<foreach>](https://docs.plumvoice.com/dev/voicexml/tags/foreach-tag), [\<help>](https://docs.plumvoice.com/dev/voicexml/tags/help-tag), [\<if>](https://docs.plumvoice.com/dev/voicexml/tags/if-tag), [\<initial>](https://docs.plumvoice.com/dev/voicexml/tags/initial-tag), [\<log>](https://docs.plumvoice.com/dev/voicexml/tags/log-tag), [\<menu>](https://docs.plumvoice.com/dev/voicexml/tags/menu-tag), [\<noinput>](https://docs.plumvoice.com/dev/voicexml/tags/noinput-tag), [\<nomatch>](https://docs.plumvoice.com/dev/voicexml/tags/nomatch-tag), [\<paragraph>](https://docs.plumvoice.com/dev/voicexml/tags/paragraph-tag), [\<prompt>](https://docs.plumvoice.com/dev/voicexml/tags/prompt-tag), [\<prosody>](https://docs.plumvoice.com/dev/voicexml/tags/prosody-tag), [\<record>](https://docs.plumvoice.com/dev/voicexml/tags/record-tag), [\<say-as>](https://docs.plumvoice.com/dev/voicexml/tags/say-as-tag), [\<sentence>](https://docs.plumvoice.com/dev/voicexml/tags/sentence-tag), [\<speak>](https://docs.plumvoice.com/dev/voicexml/tags/speak-tag), [\<subdialog>](https://docs.plumvoice.com/dev/voicexml/tags/subdialog-tag), [\<transfer>](https://docs.plumvoice.com/dev/voicexml/tags/transfer-tag), [\<voice>](https://docs.plumvoice.com/dev/voicexml/tags/voice-tag)
