Android Question how to mask text box like 9999-9999-9999-9999?

Carlven Lao

New Member
Licensed User
Longtime User
Dear all,

I'm new to b4a, how can I format user input in text like 9999-9999-9999-9999?

Thanks
 

Carlven Lao

New Member
Licensed User
Longtime User
I have made a little example for you using this Masked edit text lib. Please see it attached
Thank you very much for your post.

I've tried but it cannot input any number.

Update:
After change ET1.Format ="AAAA-AAAA-AAAA-AAAA" to "####-####-####-####" then I can input numbers.

Thanks a lot.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…