suffix Tag | Zoho Creator Help

suffix tag

<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

1. value

The value attribute specifies the content to be suffixed to a primary text.

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. 

2. size

The size attribute specifies a font size for the suffixed text.

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.

3. bold

The bold attribute adds a bold style to the suffixed text.

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.

4. italic

The italic attribute adds an italic style to the suffixed text.

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.

5. color

The color attribute specifies a font color for the suffixed text.

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.