Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rethish

macrumors member
Original poster
in my application one of the textfield is assigned to accept only numbers.But can be it done . Please help to validate a textfield only with numbers
thank you
 
thank you

thank you

i tried that. it works for email validation . when trying to validate a number with some change ,it is not working. please show another way
 
Yes you would need to modify the regular expressions. There are a ton of tutorials on this, just google it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.