Click here to Skip to main content
15,898,975 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

 
Share this answer
 
Comments
Rubaba 9-Mar-11 15:12pm    
good information; 5
You can use single custom validator instead of regularExpressionValidation and write the client validation function, which takes care your requirement.
 
Share this answer
 
Comments
Shaanicfai 9-Mar-11 2:54am    
Can you suggest me the code for that. Actually I need only Int+Float value in both the text box, No negative value and zero is also allowed

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900