本文共 194 字,大约阅读时间需要 1 分钟。
用到了html字符串校验,这里记录一下。
1 2 3 28 29 30 31 email: 32 telph: 33 test34 35
如图:
校验两个字段均不能为空
校验email字段必须包含@
校验telph字段必须满足正则表达式
转载地址:http://sdjjm.baihongyu.com/