This is a more complete version of the code I uploaded a couple days ago... Has two forms.. Graphical and Non Graphical Both work together so if you start typing something in then switch modes it will copy the information over.
I implemented this as a payment popup (this is just the credit card fields) I am not finished with the whole thing yet.
The Mod10 is a lot smaller than any I have looked as of yet. It changes colors of the textboxes when invalid. Restricts input to digits only in the graphical version... non-graphical you could get some stuff through but the code was getting fat trying to stop all the errors. It also plays around with pictures, frames, extensively with textboxes.
Also see "another money text field" I uploaded
earlier today in which I still have to implement in this project.
BTW Please vote or leave a comment (critisism(sp?) welcome)
Inputs
Just type in the credit card number, expiration date will validate as you go
Assumes
See comments
Returns
Makes TextBox Red If card is invalid..
Grabs Card Type on the keypress of the 4th digit.