<prefix>

<prefix> 
The <prefix> tag defines an affix content that can be added in the front of a primary text content. 
Note
  • It is similar to the text tag and can be defined within a <text> tag only.
  • <prefix> is applicable only when <text type='Form Data'>
Parent tag : <text>
Child tag   : -- 
Attributes
Possible Values
  • Any String

Example

Syntax<text type='Form Data' value='salesapp.northregion.totalsales.sum'>
<prefix value='$'/>
</text>
Output

 

Note:

  • value attribute acts as source attribute. i.e: All the attributes listed below viz: size, bold, italic and color are applicable only when a value is specified. 

 

Possible Values
  • A number from 1 - 9 that defines the size of the prefix text. 

Example

Syntax

<text type='Form Data' value='salesapp.northregion.totaltaxes.sum' size='8'>

          <prefix value='Deductibles: $' size='4'/>

</text>

Output 

Note:

  • size attribute is optional.
  • If no size is specifies, it is same as the size of the primary text content.
Possible Values
  • true
  • false

Example

Syntax

<text type='Form Data' value='salesapp.northregion.totaltaxes.sum' size='8'>

          <prefix value='Warehouse (North):' bold='false'/>

Output 

Note:

  • bold attribute is optional.
  • If it is not specified, the prefix text acquires the value of the bold attribute set for the primary text content.
Possible Values
  • true
  • false

Example

Syntax

<text type='Form Data' value='salesapp.northregion.totaltaxes.sum' size='8'>

          <prefix value='Overdue $' italic='true'/>

</text>

Output 

Note:

  • italic attribute is optional.
  • If it is not specified, the prefix text acquires the value of the italic attribute set for the primary text content.

 

Possible Values
  • A hexadecimal color value. You can refer this page for hexadecimal color codes.

Example

Syntax

<text type='Form Data' value='salesapp.northregion.totaltaxes.sum' size='8'>

          <prefix value='Open Tickets: ' color='#AA002D'/>

</text>

Output 

Note:

  • color attribute is optional.
  • If it is not specified, the prefix text acquires the value of the color attribute set for the primary text content.

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: appcreator-support@manageengine.com