DdsDecRangeFieldTagHelper class
Defines an input element where numbers can be typed using a keyboard. The captured value will be posted as the value entered into a field.
Namespace: ASNA.QSys.Expo.Tags Assembly: ASNA.QSys.Expo.Tags.dll
Inheritance: Object –> TagHelper –> FieldBase –> DdsFieldBase –> DdsDecFieldTagHelper
Remarks
It is recommended to specify the Min (minimum) and Max (maximum) values to properly define the valid range.
Whenever possible, it is also recommended to use a pattern attribute to validate the value, before the page can be submitted to the server. For example, for a field used as a four digit PIN (zero decimals), a pattern such as:
pattern="\d{4,4}"
title="Valid PIN is four digits long."
sets the client-side validation to allow values that are only digits with a length of four. Notice also the use of attribute title to assist the user when the Browser shows validation errors.
Properties
Type | Name | Description |
---|---|---|
InteractionStyles | InteractionStyle | Gets or sets how the user interacts with the visual component. |
Decimal | Max | Gets or sets the numeric range Maximum value. |
Decimal | Min | Gets or sets the numeric range Minimum value. |
NumericValueStyles | NumericValueStyle | Gets or sets named style that determines the position of an optional numeric input box. |
Decimal | Step | Step by which the value is increased/decreased using Buttons or operating Slider. |