About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 6 years ago
  • Total downloads: 546
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Jack Killpatrick
See full specifications

scripts default iconCredit card validation extension for jQuery Validation plugin (Scripts) Publisher's description

Here\'s an improved credit card validation extension for the jQuery Validation plugin.

Here's an improved credit card validation extension for the jQuery Validation plugin. This lets you pass the credit card type into the validation routine, which allows it to do card type specific checks for prefix of the card number and number of digits. This extension includes the mod-10 check (based on the Luhn Algorithm) that is used in the core creditcard validation routine. As an extra bonus, it will ignore spaces and dashes in the card number. This code was ported from this credit card validation routine by John Gardner, with some minor tweaks and additions.

The examples below show credit card validation results using the 'creditcard' validation method that comes with the jQuery Validation plugin and results using the creditcard2 validation method. The first set of tests show card numbers that pass, but should not. The second set of tests show results using the creditcard2 validation extension. Try other card numbers, too (tab out of the box to fire the validation). Try entering a valid number for one card type, then change the selected card type.

System Requirements:

No special requirements.
Program Release Status: Major Update
Program Install Support: Install and Uninstall

Is Credit card validation extension for jQuery Validation plugin (Scripts) your software?

Manage your software

Most Popular

scripts default icon Lightview Script 2.5
Lightview was built to change the way you overlay content on a website.
scripts default icon Draggable IFRAME Windows Script 1.1
Draggable IFRAME Windows library has the purpose to allow IFRAME objects to be dragged around the screen.
scripts default icon Uploadify Script 2.1.4
Uploadify is a jQuery plugin that integrates a fully-customizable multiple file upload utility on your website... Read more
scripts default icon Easy Slider Script 1.5
This is a jQuery-driven, horizontal navigational slider
scripts default icon Anything Slider (Scripts) 1.2
jQuery-based slider with lots of features: hashtag linking to direct slides, “infinite” sliding,... Read more