Show TOC

Object documentationControl Properties - Formatting Tab Locate this document in the navigation structure

 

This tab is used to define the format of the number, text, time or date in the field.

 

The properties configured in this field are displayed according to the data type of the control:

  • Text

  • Number

  • Date

  • Time

Certain controls, such as an input field or an expression box, can contain data of any of the four types listed. Others, such as a horizontal slider or a progress bar, must be of a single data type.

Structure

The following table describes the properties configured in this tab:

Section

Property

Attribute

Control

Description

Text Format

Default

Expression box, Input field, Ticker

Uses standard text format

Zero fill

Fills a string of a given length with zeroes

Password

Indicates whether text characters entered into the control should be displayed as asterisks

Trim spaces

Removes extra spaces at the beginning and end of the text string

Lower case

Uses only lower-case characters for the text

Upper case

Uses only upper-case characters for the text

Proper case

Capitalizes the first letter of the main words

Custom

Activates the Expression field to define specific text formatting

Expression

Read-only field displaying the defined format; activated when Custom is selected

Number Format

Numeric

Expression box, HSlider, Input field, Progress bar, Spinner, Ticker, VSlider

Standard numbering

Local format

Formats the number according to the locale of the portal runtime

Percentage

Displays numbers as a percentage of 100

Currency

Adds a symbol of the currency, selected from Currency symbol drop-down list

Custom

Activates the Expression field to define specific text formatting

Expression

Read-only field displaying the defined format; activated when Custom is selected

Decimal places

Auto

Automatically adds decimal places according to the values received

1 to 7

Indicates the number of decimal places to display

Thousands separator

None

No separator is used between the thousands and hundreds numbers

Comma

A comma is used to set off the thousands

Currency symbol

Currency icon, such as for dollar or Euro

Date Format

Local format

Date picker, Expression box, Input field, Ticker

Formats the date according to the locale of the portal runtime

[date formats]

A range of different formats for displaying the date

Custom

Activates the Expression field to define specific text formatting

Expression

Read-only field displaying the defined format; activated when Custom is selected

Time Format

Local format

Expression box, Input field, Ticker

Formats the time according to the locale of the portal runtime

[time formats]

A range of different formats for displaying the time

Custom

Activates the Expression field to define specific text formatting

Expression

Read-only field displaying the defined format; activated when Custom is selected