Description

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

Parameters

Name

Required

Migratable to Cloud?

Default Value

Description

[default] / name (Field Name)

  • (/)

  • NO

 

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

required

  • (X)

  • NO

false

If true, the field cannot be empty.

decimal (Allow decimal values)

  • (X)

  • NO

false

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

Warning: Only use if necessary. Decimals are by their nature imprecise, and may occasionally result in some arithmetic errors with some numbers. The minValue and maxValue parameters cannot be expected to be precise if used as lower and upper limits.

minValue

  • (X)

  • NO

 

The minimum value the number may be (inclusive).

maxValue

  • (X)

  • NO

 

The maximum value the number may be (inclusive).

format (Display Format)

  • (X)

  • NO

 

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

width

  • (X)

  • NO

 

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

Note: Only applies for forms mode.

Editor View

Macro Edit View

Not applicable.

Notes

Not applicable.

Tutorial Examples