|
NumberDialog |
|
|
NumberDialog is a composite element that lets the user to input a currency data using two edit boxes; one for the integer part and one for the precision digits. The text element in the middle displays the decimal point symbol that is determined depending on the page language.
The initial value given statically or taken from a XML data node with a $vof() function is spitted in two from the decimal point symbol. After the user completes its input and submits the form that this element resides in, the values of the two edit boxes are combined as one input and sent to the server.
Properties Value The initial value of the NumberDialog. It can either be a static value or a dynamic value bind with a $vof() function. The value must be a valid decimal number that may contain a decimal point character ("."). Allow Sign Character When this Boolean property is set to true then the user is allowed to enter "-" sign at the beginning of the numeric digits; otherwise the user cannot enter the sign character. Precision Digits The number of the precision digits that the user can enter in the edit box on the right. Round The Displayed Value Specify "true" to round the displayed value Pad Zeros Specify true to pad zeros at the right side when precision digits are less than the specified.
Validation See the topic "Validating User's Input" in the main help file for general explanations about validation.
|