<< 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 >SetInputValue |
Sets the value of Input Component, Label and FixedTableLabel.
Prototype :
void SetInputValue
(
string ComponentName,
string Value
)
Arguments :
ComponentName |
Component Name |
Value |
Value |
Reference :
If there is a component of the same FormID, the value of the first component is set.
If Input Component has no FormID, name of component is applied as FormID. But Button and VideoPlayer have no input value and are not be applied to SetInputValue function.
To get text of Label and FixedTableLabel as the input value, it must set FormID.
Example :
This.SetInputValue("FormID", "FORCS");
Available Events :
OnAddToPage, OnEndBind, OnKeyReturn, OnValueChanged