This example demonstrates valCC()

Input a Visa card number:

Input an Amex card number:

What to try in the credit card fields: