[an error occurred while processing this directive]
![]() | Forms Processor Advanced Commands |
Card type value ----------------------------- American express AX Diner's club DC MasterCard MC Visa V Discover DUsually the card type is selected from a selection box.
Example:
# check card number to see if it is 'ok'
if (&cc_check("$card_type","$card_no") ne "ok")
# it's invalid, tell them so
format screen
You submitted an invalid credit card number.
.
else
# it's valid, say so
format screen
You submitted a valid credit card number.
.
endif