<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
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.
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.
- true
- false
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.
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.
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.