跳到主要内容

设置表单值

为指定的表单设置值。

语法

expression.SetFormValue(internalId, value);

expression - 表示 Api 类的变量。

参数

名称必填/选填数据类型默认值说明
internalId必填string表单的唯一内部标识符。
value必填string | boolean要设置的表单值。其类型取决于表单类型。

返回值

此方法不返回任何值。

示例

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