Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Phone API Reference - UI Extended - genericForm.getInputWidget

genericForm.getInputWidget

...

Returns the input object.

Basic Example: 

Code Block
var obj = genericForm.getInputWidget(parameters);

Parameters

Name

Required

Type

Default

Description

setting

Yes

string

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

...

getInputWidget of 'sample_selectInput' and focus on it.

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