Zen Follower
- Join Date:
- Aug 2005
- Location:
- Australia
- Posts:
- 103
- Plugin Contributions:
- 0
Validate cvv number
Hi all,
I found this code for cvv number validation:
if (MODULE_PAYMENT_CC17_COLLECT_CVV == 'True') {
$js .= ' var cc_cvv = document.checkout_payment.cc_cvv.value;' . "\n";
}
My problem is that even though the validation works for minimum of a 3 digit cvv number my customers can still use the space bar to trick the validation. can anybody help with an idea of changing this so that the three digits must be numerical numbers 1 - 9