Phone API Reference - UI Extended - genericForm.getInputWidget

genericForm.getInputWidget

Description

Returns the input object.

Basic Example: 

var obj = genericForm.getInputWidget(parameters);

Parameters

Name

Required

Type

Default

Description

Name

Required

Type

Default

Description

setting

Yes

string

 

Unique identifier used in the 'inputs' array when the genericForm.show() method is called.

Examples

getInputWidget of 'sample_selectInput' and focus on it.

//in the example below, this gives focus to the 'sample_selectInput' input var selectObj = genericForm.getInputWidget({'setting' : 'sample_selectInput'}); selectObj.takeFocus();

 

Return to Documentation Home I Return to Sangoma Support