jessepollak / jessepollak/card

Always get validate error

Open
#360 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
11.7k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Hello!,

I have always the same error when I user the form:

![image](https://user-images.githubusercontent.com/7572859/27103030-b5d470a0-505d-11e7-9280-21031648d2e2.png)

Uncaught TypeError: Cannot read property 'validateCardNumber' of undefined or Uncaught TypeError: Cannot read property 'validateCardCVC' of undefined depends input im using.

I included jquery.card and this is how Im initializating the script:

$('form').card({
container: '.card-wrapper', // *required*
debug: false // optional - default false
});

Many thanks for read! :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.