Documentation

Docs / Development / Number Field

Number Field

The Number Field is used for storing any kind of number data.

Field handler

Usage in CTD:

<Field name="Data1" type="Number">
   ...
</Field>

Supported Field Controls

Configuration

The following properties can be set in the field’s configuration:

Example/Tutorials

Fully featured example:

<Field name="Data1" type="Number">
      <DisplayName>Price</DisplayName>
      <Description>This field contains the price of the car</Description>
      <Configuration>
        <ReadOnly>false</ReadOnly>
        <Compulsory>true</Compulsory>  
        <MinValue>1</MinValue>
        <MaxValue>99.5</MaxValue>
        <Digits>4</Digits>
        <ShowAsPercentage>true</ShowAsPercentage>
      </Configuration>
</Field>

The above example configures the Number field so that:

Is something missing? See something that needs fixing? Propose a change here.