I have a textfield that I can put as many dots and commas as I want, how can I limit the textfield to only 1 dot or 1 comma, I am only using numbers in the textfield so I only want the user to enter it once.
Asked
Active
Viewed 301 times
0
-
whats the target platform (OSX, iOS)? – Roger May 23 '13 at 19:54
-
It is IOS, sorry forgot to put that – Sleeperinn May 23 '13 at 19:55
-
ok, OSX has a NSTextField with number format... ;-) – Roger May 23 '13 at 19:58
-
check this out: http://stackoverflow.com/questions/7709450/uitextfield-format-in-xx-xx-xxx – Roger May 23 '13 at 19:59