Int Range Attribute
The IntRangeAttribute is used to capture an integer from a defined set of possible values. The MinValue and MaxValue attributes are mandatory.
Example
XML
<IntRangeAttribute Name="Probability" MinValue="1" MaxValue="10" Values="1,3,5,7,10"/>
Appearance

XML Attributes
MinValue (required)
The minimal value that can be assigned.
MaxValue (required)
The maximal value that can be assigned.
Default Value
The value given to the attribute when the Document Object is created. The default value is 0 (zero). The value must be within the Min/Max Range.
Values
The limited integer values separated by comma that may be assigned to the field. If not defined, all values between MinValue and MaxValue are used.
Example: Given MinValue="1" MaxValue="100" Values="1,25,50,75,100", the user will be able to select one of the values 1, 25, 50, 75 and 100.
Last updated
Was this helpful?