The SimpleForm API provides methods for customizing forms.

SimpleForm methods can be used on the client side only.

You can also use these methods to configure the contextual dependencies between fields and values (for example, change values in the fields or clear the fields).

s_form.getValue(fieldName)

Returns the value of the specified field


Parameter(s):

NameType
fieldNameString


Return:

TypeDescription
StringThe value of the field.


Example:

s_form.getValue('caller_id');