Welcome to the iMore Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 2 of 2
  1. Thread AuthorThread Author   #1  
    greenearth's Avatar
    iPhone Nanite

    Posts
    1 Posts

    Default Masking CreditCard Info

    Is the CreditCardInfo masked in IPAD. I am using JSP and I do not wish to mask the creditcard info. But except the last four digits everything is masked. How can we turn of this feature using html or any othey method.
  2. #2  
    jayfuerstenberg's Avatar
    iPhone Newbie

    Posts
    14 Posts

    Default

    You can just make a utility method for replacing each of the first N-digits with an asterix but otherwise leaving the last four digits untouched. In your view controller just pass the raw credit card number to this method prior to setting the label or text field's text.

    Good luck!

Posting Permissions