<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >GetInputNumberValue |
Gets value of Input Component, Label and FixedTableLabel in double format.
Prototype :
double GetInputNumberValue
(
string FormID
)
Arguments :
FormID |
FormID of the component |
Reference :
If there is a component of the same FormID, the value of the first component will be returned.
If Input Component has no FormID, name of component is applied as FormID.
To get text of Label and FixedTableLabel as the input value, it must set FormID.
To get value of RadioButton, set Group Name property to the name of RadioButtonGroup and then value of FormID argument to FormID from RadioButtonGroup.
If it is unable to convert to double format, it is returned as NaN.
Example :
if(isNaN(This.GetInputNumberValue("FormID"))) {
_TraceLn("Not a Number.");
} else {
_TraceLn(This.GetInputNumberValue("FormID"));
}
Available Events :
OnAddToPage, OnEndBind, OnFocus, OnKillFocus, OnValueChanged