<suffix>

<suffix> 
The <suffix> tag defines an affix content that can be added at the end of a primary text content. 
Note
  • It is similar to the text tag and can be defined within a <text> tag only.
  • <suffix> 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='inventoryapp.northregion.totalstock.sum'>
<suffix value='Units'/>
</text>
Output

 

Note:

  • value attribute is optional. 
  • 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='inventoryapp.northregion.totalstock.sum'>

          <suffix value='Units' size='4'/>

</text>

Output 

Note:

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

Example

Syntax

<text type='Form Data' value='inventoryapp.northregion.totalstock.sum'>

          <suffix value='Units' bold='true'/>

</text>

 

Output

 

Note:

  • bold attribute is optional. 
  • If it is not specified, the suffix 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='inventoryapp.northregion.totalstock.sum'>

          <suffix value='Units' italic='false'/>

</text>

Output

 

Note:

  • italic attribute is optional. 
  • If it is not specified, the suffix 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='inventoryapp.northregion.totalstock.sum'>

          <suffix value='Units' color='#047B33'/>

</text>

Output

 

Note:

  • color attribute is optional. 
  • If it is not specified, the suffix 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