Versions Compared

Key

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

Phone API Reference - UI Extended - genericForm.getValue

genericForm.getValue

Description

Gets the value of the specified input. Can only retrieve a value on the most recently active form that is defined by the last time generifForm.show() was called.

Basic Example: 

Code Block
var value = generifForm.getValue(parameters);

Parameters

Name

Required

Type

Default

Description

setting

Yes

string

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

...

genericForm.getValue gets object with setting value = 'sample_hostInput'

Code Block
//in the example below, this sets val='192.168.1.1'
var val = genericForm.getValue({'setting' : 'sample_hostInput'});