Hello everyone, i've decided to learn some Java. I'm a little stuck so any help would be appreciated!
Well i need to know how to make the character length of a text box limited to 2.
So the person can only type in 2 characters.
P.S - If any of you know how to make it so the person can only type in letters and not numbers (or vice versa) it would be good :D.
Thank you.
character lengths
Started by travy92, Oct 01 2007 10:51 PM
1 reply to this topic
#1
Posted 01 October 2007 - 10:51 PM
[SIGPIC]C:\Users\Travis\Desktop\Image Converter\Knight1.bmp[/SIGPIC]
|
|
|
#2
Posted 01 October 2007 - 10:58 PM
OMFG LOL Sorry guys false alarm.... I didn't read my code right!..
Problem solved using "maxlength=2" <-- i found it already in my code.. But the maxlength was 3..... Sorry guys !
Problem solved using "maxlength=2" <-- i found it already in my code.. But the maxlength was 3..... Sorry guys !
[SIGPIC]C:\Users\Travis\Desktop\Image Converter\Knight1.bmp[/SIGPIC]


Sign In
Create Account


Back to top









