Skip to main content

<ParagraphLabels>

Category: Control tag

The ParagraphLabels tag creates labeled paragraphs. Use with the Paragraphs tag to label a paragraph of text.

Use with the following data types: paragraphs.

Attributes​

AttributeTypeRequiredDefaultDescription
namestringyes—Name of the element
toNamestringyes—Name of the paragraph element to label
choicesingle,multiplenosingleConfigure whether you can select one or multiple labels
maxUsagesnumberno—Maximum number of times a label can be used per task
showInlinetrue,falsenotrueShow labels in the same visual line

Examples​

Basic labeling configuration to label paragraphs​

<View>
<ParagraphLabels name="labels" toName="prg">
<Label value="Statement" />
<Label value="Question" />
</ParagraphLabels>
<Paragraphs name="prg" value="$dialogue" layout="dialogue" />
</View>