Skip to main content

SetFormValue

Sets a value to the specified form.

Syntax​

expression.SetFormValue(internalId, value);

expression - A variable that represents an Api class.

Parameters​

NameRequired/OptionalData typeDefaultDescription
internalIdRequiredstringA unique internal identifier of the form.
valueRequiredstring | booleanForm value to be set. Its type depends on the form type.

Returns​

This method doesn't return any data.

Example​

window.Asc.plugin.executeMethod ("SetFormValue", ["1_713", true]);