GirishSharma
Member
- Joined
- Feb 2, 2009
- Messages
- 5
- Programming Experience
- Beginner
Hello,
I have placed 5 textboxes on a web page (ASP.NET using VB) and one for input of sum above 5 textboxes. I want to validate the 6th textbox as a sum of above 5 values; something like it.. suppose sum of 5 textboxes is 1032 and now focus is in 6th (i.e. total) textbox; so here only "1032" characters should be allowed no other; and they should be in this order only; not like 1302 or something like (after pressing 1 it will accept only 0 no other key). How to get this feature please tell me. I have searched and got javascript examples but none is having the solution of my query.
User has to feed the sum of above 5 values in the 6th textbox; so that if there is any error in source (a pri-printed data sheet which comes from other department); may be returned back to avoid wrong data input in database.
Thanks & Regards
Girish Sharma
I have placed 5 textboxes on a web page (ASP.NET using VB) and one for input of sum above 5 textboxes. I want to validate the 6th textbox as a sum of above 5 values; something like it.. suppose sum of 5 textboxes is 1032 and now focus is in 6th (i.e. total) textbox; so here only "1032" characters should be allowed no other; and they should be in this order only; not like 1302 or something like (after pressing 1 it will accept only 0 no other key). How to get this feature please tell me. I have searched and got javascript examples but none is having the solution of my query.
User has to feed the sum of above 5 values in the 6th textbox; so that if there is any error in source (a pri-printed data sheet which comes from other department); may be returned back to avoid wrong data input in database.
Thanks & Regards
Girish Sharma