Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

undefined is not a function for validation #97

Open
jamiehall84 opened this issue Nov 6, 2014 · 1 comment
Open

undefined is not a function for validation #97

jamiehall84 opened this issue Nov 6, 2014 · 1 comment

Comments

@jamiehall84
Copy link

Love this plugin, everything works well except the validation part. It works perfectly in the demo but not in my code for some reason.
I get Uncaught TypeError: undefined is not a function bootstrap-wizard.js:273

line 273 is:
var vret = windowv;

any reason anyone can think of why this could be happening?

@Aayush-Kasurde
Copy link

Hi @jamiehall84 you are facing this issue as you have not written validation function mentioned in form element. Code is trying to find that function and is not able to find that function so it is raising "TypeError..."

For example:

<input type='text' ... data-validate='functionToValidate'>

if you don't write function functionToValidate then it will raise error.

Try it and let me know

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants