updated credit card constraint to respond to type="creditcard" since it seems more likely to be the later-established html version