在验证文本框时遇到问题.请在这方面帮助我 [英] Getting problem in validation of textboxes. please help me in this regard

查看:84
本文介绍了在验证文本框时遇到问题.请在这方面帮助我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
验证同一行中的两个文本框时出现问题.
我只想使用regularExpressionValidation为两个文本字段提供一条错误消息.

如果我将在两个文本框中输入错误的数据.它应该为两个文本框显示一条消息.即使我将在单个文本框中输入错误的数据,它也应显示相同的错误消息

Hello,
I am getting problem when I am validating two text boxes which is in same row.
I want to give only single Error message for both the text field using regularExpressionValidation.

If I will enter Wrong data in both text box. It should display single message for both the textboxes. Even I will enter wrong data in single textbox it should display same error message

推荐答案

http://msdn.microsoft.com/en-us/library/aa479045.aspx [更多在这里

尽情享受Google
http://msdn.microsoft.com/en-us/library/aa479045.aspx[^]

more here

Enjoy Google


您可以使用单个自定义验证器而不是regularExpressionValidation并编写客户端验证功能,这可以满足您的要求.
You can use single custom validator instead of regularExpressionValidation and write the client validation function, which takes care your requirement.


这篇关于在验证文本框时遇到问题.请在这方面帮助我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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