跳到主要内容

CheckBoxFormPr

复选框/单选按钮属性。

类型

枚举

示例

This example creates a checkbox form with the common and specific checkbox form properties.

// How to create a checkbox form with its properties.

// Create the checkbox properties and apply them to the ApiCheckBoxForm object.

let checkBoxFormPr = {
"key": "Marital status",
"tip": "Specify your marital status",
"required": true,
"placeholder": "Marital status",
"radio": true
};
let checkBoxForm = Api.CreateCheckBoxForm(checkBoxFormPr);