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:
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. |
Examples
genericForm.getValue gets object with setting value = 'sample_hostInput'
//in the example below, this sets val='192.168.1.1'
var val = genericForm.getValue({'setting' : 'sample_hostInput'}); |