Number Data

Description

Allows editing of numbers in either a text box or a list item.


Parameters

NameRequiredAvailable InDefault ValueDescription

[default] / name (Field Name)

 (tick)

Server, Data Center

 

The name of the number data field. Must be unique.

required

 (error)

Server, Data Center

false

If true, the field cannot be empty.

decimal (Allow decimal values)

 (error)

Server, Data Center

false

 If true, the field will allow decimal values to be entered.

Warning: Decimals are by their nature imprecise, and may occasionally result in some arithmetic errors with some numbers. Only use them if necessary, and don't expect minValue and maxValue to always be precise as boundaries.

minValue

 (error)

Server, Data Center

 

The minimum value the number may be (inclusive).

maxValue

 (error)

Server, Data Center

 

The maximum value the number may be (inclusive).

format (Display Format)

 (error)

Server, Data Center

 

The format the number should be output in when not being edited. See java.text.DecimalFormat for details. 

width

 (error)

Server, Data Center

 

The width of the field. e.g. "100%" or "250px".

Note: Only applies for forms mode.


Editor View

Tutorial Examples