TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >

 

GetInputComponent

<< 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 >

 

GetInputComponent

 

 

Gets the Input Component, Label and FixedTableLabel.

 

 

 

Prototype :

 

object GetInputComponent

(

       string ComponentName

)

 

 

 

Arguments :

 

ComponentName

Component name

 

 

 

Reference :

 

If there is a component of the same FormID, the first component will be returned.

 

If Input Component has no FormID, name of component is applied as FormID and Label and FixedTableLabel must set FormID.

 

 

 

Example :

 

var objComp = This.GetInputComponent("FormID");

objComp.SetEnable(false);

 

 

 

Available Events :

 

OnAddToPage,  OnEndBind,  OnFocus,  OnKeyReturn,  OnKillFocus,  OnValueChanged