how to validate a textfield?

Discussion in 'Mac Programming' started by rethish, Nov 12, 2008.

  1. rethish macrumors member

    Joined:
    Oct 16, 2008
    #1
    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
     
  2. rethish thread starter macrumors member

    Joined:
    Oct 16, 2008
    #3
    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
     
  3. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
    Yes you would need to modify the regular expressions. There are a ton of tutorials on this, just google it.
     

Share This Page