Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

I want do a couple of things with credit card numbers.

How can I have the numbers appear in this form xxxx xxxx xxxx xxxx instead of xxxxxxxxxxxxxxxx so it is easier to read?

I also want the person to be able to enter the number without having to tab if the above solution requires 4 separate fields.

I have created a verification of the current field I am using by having them enter the number twice and setting the second field to = the first. Is this the best/simplest solution for making sure they have entered the number from the credit card correctly?

Thank you in advance for your help

FileMaker Version: 6

Platform: Mac OS X Panther

Welcome shaunreport. You might want to check out Brian Dunning's website http://www.briandunning.com/filemaker-pro/ . At the bottom of the page (although the entire website is great) is something called Credit Card Validator.

It is very simple to use (so Users will only have to enter once). It validates most (all?) types of charge cards. I'm just playing with it now (and several other things) and I like his work.

Also, do a search... There are many wonderful offerings on this forum regarding credit card validations. No need to reinvent the wheel if you don't have to. smile.gif

  • Author
  • Newbies

Brian's validater is a good start for me thank you.

The very first thing I did was search for credit and creditcard in all forums and got no results.

Any help with my display questions is still appreciated.

The problem is, Shaun, that credit card numbers vary in length. So you can not use a calculation to mask the card number and simply display dashes between each fourth. It won't be accurate. If you will view that demo's CardKind calculation, you will see what I mean.

If you don't want Users to enter dashes, that would be fine also. wink.gif

Use this calc to determine Card Kind and find out which cards have dashes where. Then create your masking calc to display dashes depending upon whether Discover or Visa or whatever. Give us a list of the cards and how they list (4-4-4-4) and we will help you put together a Case calculation which will then mask your regular field and produce the necessary dashes.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.