java中信用卡号的屏蔽输入
我想屏蔽信用卡号的输入表单,如下所示:
输入您的信用卡号码:411111******1111
就像密码输入一样,但只是部分。
我使用 Icefaces 作为框架。如果我使用 ace:maskedEntry ,则仅更改数据的格式,而不更改我必须输入的文本。
预先感谢我,并对我的英语不好表示歉意。
I want to masking my input form for credit card number like this:
Input your credit card number : 411111******1111
So like a password input, but only partially.
I'm using icefaces for the framework. if I use ace:maskedEntry
, then only change the format of the data, not the text that I have to input.
Thanks in advance before and sorry for my bad english.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果你想屏蔽信用卡号,你可以使用java子字符串方法。
If you want to mask credit card number you can use java substring method.