We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,011 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

How to put a limited input in a textbox

i would like to know hot to put a limited input in a textbox..
situation is like this
i put a textbox in a form then what i would like to happen is to accept only 2 number and will not accept the following number that is being pressed...please help...
newbie here!

2
Contributors
2
Replies
25 Minutes
Discussion Span
2 Months Ago
Last Updated
9
Views
Question
Answered
masterfact18
Light Poster
43 posts since Jan 2011
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

use of MaxLength property of textbox and set it to 2

it will solve the issue

rishif2
Junior Poster
156 posts since Dec 2012
Reputation Points: 54
Solved Threads: 32
Skill Endorsements: 3

thanks...i found the maxlength in the properties...thanks!!

masterfact18
Light Poster
43 posts since Jan 2011
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0
Question Answered as of 2 Months Ago by rishif2

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0595 seconds using 2.66MB