Text Before and Text After content class property

Official Content
This documentation is valid for:

It displays a piece of text before or after the contents of a label. It applies to the Textblock class and its descendants.

It's very useful when indicating the required fields of a form.

Example

Consider a web transaction where the ProductName field is going to be required.

The ProductName attribute Class property is assigned to the "AttributeRequired" class.

i2016_03_11_19_17_063_png

The AttributeRequired class has the following characteristics:

i2016_03_11_19_18_274_png

The LabelRequired class is a descendant of the Textblock class, and has the following settings:

  • Forecolor = red
  • Text After content = *

i2016_03_11_19_20_065_png

At runtime, the ProductName label is displayed as follows:

i2016_03_11_19_20_346_png