天翎MyApps技术社区 - 低代码平台 | 流程管理系统 | BPM软件

 找回密码
 注册成为天翎用户
查看: 743|回复: 0

[常见问题] 控制视图选择框选择的数量的脚本

[复制链接]
李国权 发表于 2020-12-9 11:44:06 | 显示全部楼层 |阅读模式
确定条件的脚本
(function() {
        var selectIds = getParameterAsText("_selects");
        var ids = splitString(selectIds, ';');
        if (ids.length >3) {       
        return "最多只能是3项";       
        }
})()

本版积分规则

QQ|手机版|天翎MyApps技术社区 ( 粤ICP备11093750号 )

GMT+8, 2026-8-12 10:39

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表