We use cookies to ensure that we give you the best experience on our website. Click here for more information. Got it

¿How can I hide the first 12 numbers of 16 from an input for a credit card?
I am using the Iphone X device.
RESOURCES
Copyright © 2025 Justinmind
Footer policies
Footer policies
Footer policies
Using an Input Text Field with a 'number' type, you can hide what's typed into a field. The attached example has two ways of doing this:
1. "On Key Up" - when you type in 12 characters that are hidden, you then focus in on another Input Text Field that has unhidden characters
2. "On Focus Out" - after typing in 16 characters, click out of the Input Text Field and the first 12 characters will be replaced with stars, and the last 4 characters will be added on the end.
Using an Input Text Field with a 'number' type, you can hide what's typed into a field. The attached example has two ways of doing this:
1. "On Key Up" - when you type in 12 characters that are hidden, you then focus in on another Input Text Field that has unhidden characters
2. "On Focus Out" - after typing in 16 characters, click out of the Input Text Field and the first 12 characters will be replaced with stars, and the last 4 characters will be added on the end.
Using an Input Text Field with a 'number' type, you can hide what's typed into a field. The attached example has two ways of doing this:
1. "On Key Up" - when you type in 12 characters that are hidden, you then focus in on another Input Text Field that has unhidden characters
2. "On Focus Out" - after typing in 16 characters, click out of the Input Text Field and the first 12 characters will be replaced with stars, and the last 4 characters will be added on the end.
Using an Input Text Field with a 'number' type, you can hide what's typed into a field. The attached example has two ways of doing this:
1. "On Key Up" - when you type in 12 characters that are hidden, you then focus in on another Input Text Field that has unhidden characters
2. "On Focus Out" - after typing in 16 characters, click out of the Input Text Field and the first 12 characters will be replaced with stars, and the last 4 characters will be added on the end.
Replies have been locked on this page!