/
Phone API Reference - UI Extended - genericForm

Phone API Reference - UI Extended - genericForm

genericForm

Creates a form containing various input objects. Can be used to display a settings page for an app, for example. This is a useful shortcut for creating a page with many elements, without having to manually define and position each element.

 

Require Extended Library: 

var genericForm = require('genericForm');

Methods

Name 

Description 

Name 

Description 

genericForm.getInputWidget

Returns the input object.

genericForm.getValue

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.

genericForm.setValue

Sets the value of a specified object based on the 'setting' value you gave that object. Note: the form must be shown before setValue can be called.

genericForm.show

Clears anything currently on the screen and shows the form.

Related content

Phone API Reference - UI Extended - genericForm.setValue
Phone API Reference - UI Extended - genericForm.setValue
More like this
Phone API Reference - UI Extended - genericForm.getValue
Phone API Reference - UI Extended - genericForm.getValue
More like this
Phone API Reference - UI Extended - genericForm.show
Phone API Reference - UI Extended - genericForm.show
More like this
Phone API Reference - UI Extended Classes - SelectInput - setValue
Phone API Reference - UI Extended Classes - SelectInput - setValue
More like this
Phone API Reference - UI Extended - genericForm.getInputWidget
Phone API Reference - UI Extended - genericForm.getInputWidget
More like this
Phone API Reference - UI Extended
Phone API Reference - UI Extended
More like this

Return to Documentation Home I Return to Sangoma Support