Skip to content

Form Validation - Payments - Determining type of card entered #1904

Discussion options

You must be logged in to vote

You may have to check the regexes from the validation function. I prepared a little example which does what you need. Feel free to adopt and change it according to your needs
https://jsfiddle.net/lubber/hzt017q3/13/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jike212
Comment options

Answer selected by jike212
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants