限制用户修复客户端验证错误 [英] Restrict user to fix the client validation error

查看:79
本文介绍了限制用户修复客户端验证错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用验证控件和标注扩展程序来显示验证消息.

We are using validation controls and callout extender to show validation messages.
Can we restrict user to fix the error before moving to next field?

推荐答案

hi,

尝试将焦点设置为未通过验证的字段.
以这种方式,直到它们填充有效数据为止.它们将无法移动到其他字段.


让我知道我是否理解错了.


Try setting focus to the field that failed the validation.
In that way until they fill valid data..they will not be able to move to other field.


Let me know if i understood something wrong here.


这篇关于限制用户修复客户端验证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆