表单设计器提供了灵活多样的功能,但为了进一步满足用户特殊需求,系统允许用户直接修改表单源码来实现。
表单源码为html, 用户可以直接修改追加css/html/javascript等代码。
系统提供以下重写函数,实现用户功能扩展:
//系统设置表单数据前调用
function setFormContentBefore(content, readonly) {
return content;
}
//系统设置表单数据后调用
function setFormContentAfter(content, readonly) {
}
//系统提交获取表单数据前调用
function getFormContentBefore() {
}
//系统提交获取表单数据后调用
function getFormContentAfter(content) {
return content;
}
//系统合法性检查前调用
function checkInputBefore(Id, Name) {
return true;
}
//系统合法性检查后调用
function checkInputAfter(Id, Name) {
return true;
}
