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

rethish

macrumors member
Original poster
Oct 16, 2008
41
0
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
 

rethish

macrumors member
Original poster
Oct 16, 2008
41
0
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
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
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.