Jump to content
Sign in to follow this  

mask credit card number

Recommended Posts

I wanted to know if anyone new how to achieve the following:

1. only show credit card fields when "CC" is chosen from payment type

2. upon CC fields displaying and entering data, the credit card number is masked as xxxxxxxxxxxx####

3. after entered, when clicking on the number field, a password prompt is displayed.

Share this post

Link to post
Share on other sites

1. this link will show you how: http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000743

2. You could have a calculated field laid on top of the numeric input field. Calculated field would replace all but the last four digits of the CC field with "x". Set CC field to allow entry in browse mode. Set calculated field to NOT allow entry in browse mode.

3. Not sure about this one. If you were to upgrade to FileMaker 10 you might be able to use script triggers to handle this, but I'm not sure exactly how you would do that either.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.