QueryPrompt Tag

ClosedDescription

The root tag for Query Prompt. The Query Prompt tags set the prompt text, the default reply, and/or the value for the Query Prompt.

ClosedSyntax

<QueryPrompt Name=Value>...</QueryPrompt>

The supported attributes include:

Attribute

Required/Optional

Description

Name

Required

The name of the Query Prompt.

ClosedChild Elements

The following child element tags are supported:

Tag

Required/Optional

Description

DefaultReply

Optional

Set the default reply for the query prompt.

UserPrompt

Optional

Set the user prompt.

Value

Optional

Set the value of the query prompt.

ClosedParent Tags

<FormatSetup>
<Print>
<ExportPrintPreviewToImage>

ClosedRemarks

<QueryPrompt> is an optional tag that is used with the <FormatSetup>, <Print>, and <ExportPrintPreviewToImage> commands.

ClosedExample

This example demonstrates the <QueryPrompt> tag contained within the <Print> command. The <QueryPrompt> tag can also be contained within the <FormatSetup> and <ExportPrintPreviewToImage> commands.

<?xml version="1.0" encoding="utf-8"?>

<XMLScript Version="2.0" Name="09232006_103601_Job1" ID="123">

<Command Name="Job1">

<Print>

<Format>Label1.btw</Format>

<QueryPrompt Name="Zip">

<DefaultReply>98296</DefaultReply>

<UserPrompt>98296</UserPrompt>

</QueryPrompt>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 1.0 (BarTender 8.0 and higher)