credt card VALIDATION

sparky30161

Member
Joined
Nov 8, 2006
Messages
8
Programming Experience
Beginner
Hi,

i am looking to create a program that will valdate creit cards.
i will have text boxes that will hold 4 integers each. so 16 numbers in total that a user will type in and then a button that they press to check if it is valid.

i know that you can use LUHN formula for this type of application but will this be suitable if i have four seperate text boxes?


any help greatly appreciated.

cheers

Sparky
 
you should probably have a textbox for the 3 digit security code and an additional textbox for something like the zip code it's issued for and whatnot (something that's not on the card)
 
the 3 digit security code is only needed if performing an online-authorisation style check. It is not needed for Luhn modulo verification of a credit card number

will this be suitable if i have four seperate text boxes?

erm.. you can concatenate the contents of the textboxes quite easily...
 
Back
Top