📄 custombinding.js
字号:
isc.DynamicForm.create({ ID: "boundForm", dataSource: "users", useAllDataSourceFields: true, fields: [ {type:"header", defaultValue:"Registration Form"}, {name: "password"}, {name: "password2", title: "Password Again", type: "password", required: true, length: 20, validators: [{ type: "matchesField", otherField: "password", errorMessage: "Passwords do not match" }] }, {name: "acceptTerms", title: "I accept the terms of use.", type: "checkbox", required: true, width: "150"}, {name: "validateBtn", title: "Validate", type: "button", click: "form.validate()"} ], values : { firstName: "Bob", email: "bob@.com", password: "sekrit", password2: "fatfinger" }});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -