Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
如何限制文本输入特殊字符
@大伯kiss 限制输入(指输入无效)的话应该做不到,只能从输入完之后整体的结果来判断,分支选择组件里有判断字符包含条件,表达式find(a,b)也能判断参数a中是否含有参数b的字符串,如果没有会返回-1,获取输入框的文本到这些条件或表达式去判断有无你不想要玩家输入的字符,然后去断定玩家输入是否非法并提示玩家即可。
感谢!!!