TextFormPr
文本字段属性。
类型
枚举
值
示例
此示例创建具有通用和特定文本表单属性的文本表单。
// How to create a text form with adding properties like tip text, placeholder, etc. to it.
// Create a text form with properties.
let textFormPr = {
"key": "Personal information",
"tip": "Enter your first name",
"required": true,
"placeholder": "First name",
"comb": true,
"maxCharacters": 10,
"cellWidth": 3,
"multiLine": false,
"autoFit": false
};
let textForm = Api.CreateTextForm(textFormPr);